Update Basic, DB IO, Login class
- DB IO: update the write data method to update data that is empty (aka null) and not skip it (aka never unset data) - Basic: add date time compare method based on strtotime - Login: ACL for page level check if array is set before setting anything
This commit is contained in:
@@ -581,7 +581,7 @@
|
||||
{
|
||||
$this->acl['page'] = $_SESSION['GROUP_ACL_LEVEL'];
|
||||
}
|
||||
if ($_SESSION['PAGES_ACL_LEVEL'][$this->page_name] != -1)
|
||||
if (isset($_SESSION['PAGES_ACL_LEVEL'][$this->page_name]) && $_SESSION['PAGES_ACL_LEVEL'][$this->page_name] != -1)
|
||||
{
|
||||
$this->acl['page'] = $_SESSION['PAGES_ACL_LEVEL'][$this->page_name];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user