From 8d6d8793e0f9b7501e3ec7e434820747f6b84846 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 27 May 2024 10:21:30 -0400 Subject: [PATCH] status = 1 --- application/controllers/Confg.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Confg.php b/application/controllers/Confg.php index bbb93a2..8c0f343 100644 --- a/application/controllers/Confg.php +++ b/application/controllers/Confg.php @@ -183,7 +183,7 @@ class Confg extends Bko_Controller { //echo "ameye-ameye 22 - ".$countyry_code; if($countyry_code !='' & $action !='' & $action == 1 ){ - $sql1 = "UPDATE country SET allow=now() WHERE code= '$countyry_code' "; + $sql1 = "UPDATE country SET allow=now(), status = 1 WHERE code= '$countyry_code' "; $this->db->query($sql1); echo 'Updated'; } @@ -192,7 +192,7 @@ class Confg extends Bko_Controller { // } if($countyry_code !='' & $action !='' & $action == 0 ){ - $sql1 = "UPDATE country SET allow=NULL WHERE code= '$countyry_code' "; + $sql1 = "UPDATE country SET allow=NULL,status = 0 WHERE code= '$countyry_code' "; $this->db->query($sql1); echo 'Disabled'; }