FIX_ISSUE

This commit is contained in:
VENKATESHWARAN 2025-12-11 09:43:52 +05:30
parent dc88f23cc7
commit c73a271dcf

View File

@ -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 )