From a72595aa633124a39df076f6337cd3c867ba34ba Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 13 Jun 2024 16:17:43 -0400 Subject: [PATCH] application_uid --- app/Controllers/Employers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/Employers.php b/app/Controllers/Employers.php index 1e31607..5bc8b5a 100644 --- a/app/Controllers/Employers.php +++ b/app/Controllers/Employers.php @@ -9,9 +9,9 @@ class Employers extends BaseController { $data = $this->request->getPost(); - if ($data['aplication_uid'] != '') { + if ($data['application_uid'] != '') { - $findEmp ="SELECT * from applications WHERE status =2 AND uid = '".$data['aplication_uid']."'"; + $findEmp ="SELECT uid AS application_uid, * from applications WHERE status =2 AND uid = '".$data['application_uid']."'"; $query = $this->db->query($findEmp); $row = $query->getResult('array'); if ($row ){