mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#669 CMS deactivation not working
This commit is contained in:
parent
f4468a807c
commit
134dda7bb1
@ -269,7 +269,7 @@ if ($loguserip != 'localhost') {
|
||||
}
|
||||
}
|
||||
|
||||
$query = $sql->prepare("SELECT `active` FROM `modules` WHERE `id`=9 LIMIT 1");
|
||||
$query = $sql->prepare("SELECT `active` FROM `modules` WHERE `type`='C' AND `get`='pn' AND `sub`='pn' LIMIT 1");
|
||||
$query->execute();
|
||||
$page_active = $query->fetchColumn();
|
||||
$page_active = (active_check($page_active)) ? $page_active : 'Y';
|
||||
|
Loading…
x
Reference in New Issue
Block a user