status = 1
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user