FIX_ISSUE
This commit is contained in:
parent
dc88f23cc7
commit
c73a271dcf
@ -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 )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user