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:
Clemens Schwaighofer
2016-08-27 13:28:42 +09:00
parent 31bef7a531
commit adf46f620b
3 changed files with 18 additions and 2 deletions

View File

@@ -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;