From c73a271dcf1191bde880d92b60091092fa4681ae Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Thu, 11 Dec 2025 09:43:52 +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 25f697b..e3e921a 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 == false || $is_from_copy == 'null' || $is_from_copy == null){ $this->employeeModel->where('id', $this->request->getGet('id') ) ->where('is_active', 1 )