FIX_LIVE_ISSUE_UNDIFINED_ARRAY_KEY_I_AGREED_FOR_ADDON
This commit is contained in:
parent
01854c99fb
commit
1143753f36
@ -35,7 +35,7 @@ class Filters extends BaseConfig
|
||||
'authMVC' => AuthMVC::class,
|
||||
'HttpRequestLog' => HttpRequestLog::class,
|
||||
'authJWT' => AuthJWT::class,
|
||||
'CloseDbConnection' => CloseDbConnection::class
|
||||
'CloseDbConnection' => CloseDbConnection::class,
|
||||
'Cors' => Cors::class
|
||||
];
|
||||
|
||||
@ -54,7 +54,7 @@ class Filters extends BaseConfig
|
||||
// 'invalidchars',
|
||||
],
|
||||
'after' => [
|
||||
'CloseDbConnection'
|
||||
'CloseDbConnection',
|
||||
'Cors',
|
||||
// 'secureheaders',
|
||||
],
|
||||
|
||||
@ -2287,7 +2287,7 @@ class EmployeeRestController extends AdminController
|
||||
$empData = $this->employeeModel->where('emp_code', $emp_code )->where('client_id', $client_id ) ->where('is_active', 1 )->findAll();
|
||||
$employeeIds = array_column($empData, 'id');
|
||||
//for mail common parameter
|
||||
$filteredEmpData = array_filter($empData, fn($item) => $item['relationship'] === 'Self');
|
||||
$filteredEmpData = array_values(array_filter($empData, fn($item) => $item['relationship'] === 'Self'));
|
||||
|
||||
if (!is_null($client_policy_id) && is_array($client_policy_id))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user