Update class basic, bug fixes for acl unit set in login class
class basic has a simple date string format method. returns Y-m-d h:i:s for a trimestring, optional microseconds too bug fix for unit/edit access id check in login class
This commit is contained in:
@@ -641,7 +641,7 @@
|
||||
// DESC : checks if this edit access id is valid
|
||||
public function login_check_edit_access($edit_access_id)
|
||||
{
|
||||
if (array_key_exists($edit_access_id, $this->acl['info']['edit_access']))
|
||||
if (array_key_exists($edit_access_id, $this->acl['unit']))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user