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)); }