From 9eaf8d5c58c2d7c20a648e65c765e32ae231e4e9 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 13 Jun 2024 16:29:17 -0400 Subject: [PATCH] employer uid --- app/Controllers/Employers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Employers.php b/app/Controllers/Employers.php index 35d3681..4b4acaa 100644 --- a/app/Controllers/Employers.php +++ b/app/Controllers/Employers.php @@ -17,7 +17,7 @@ class Employers extends BaseController $query = $this->db->query($findEmp); $row = $query->getResult('array'); $employer_uid = $row[0]['employer_uid']; - if ($row ){ + if ($row[0]['uid']!='' ){ $checkData = $this->APIcall("POST", "http://10.10.10.48:6332/api/verify/employer", json_encode($row)); }