diff --git a/app/Controllers/Employers.php b/app/Controllers/Employers.php index 961ec5b..0655fe0 100644 --- a/app/Controllers/Employers.php +++ b/app/Controllers/Employers.php @@ -109,7 +109,7 @@ class Employers extends BaseController 'message' => 'Verification text sent to employer', 'call_return' => '100', 'verification_id' => $addedData["uid"], - 'verify_data' => $checkData["res"]["data"] + 'verify_data' => $checkData["res"]["data"] ?? [] ]; // 'status' => $checkData["res"]["status"], return $this->respond($response, 200);