From dc88f23cc7a614f6febd8648183df9de2fe7c131 Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Thu, 11 Dec 2025 09:35:25 +0530 Subject: [PATCH] FIX_ISSUE --- app/Controllers/EmployeeRestController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/EmployeeRestController.php b/app/Controllers/EmployeeRestController.php index 8b2ecc8..25f697b 100755 --- a/app/Controllers/EmployeeRestController.php +++ b/app/Controllers/EmployeeRestController.php @@ -529,7 +529,7 @@ class EmployeeRestController extends AdminController { $is_from_copy = $this->request->getGet('is_from_copy') ?? null; - if($is_from_copy == false && $is_from_copy == null){ + if($is_from_copy == false || $is_from_copy == null){ $this->employeeModel->where('id', $this->request->getGet('id') ) ->where('is_active', 1 )