git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5103 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2008-12-17 05:28:25 +00:00
parent 7cbc482c25
commit cf91699c4f
17 changed files with 101 additions and 14 deletions

View file

@ -224,7 +224,7 @@
if($logged_info->is_admin=='Y') return true;
$actions = array('procDocumentAdminAddCart','dispDocumentAdminManageDocument','procDocumentAdminManageCheckedDocument');
if(!in_array($this->act, $actions)) return false;
if(in_array($this->act, $actions)) return true;
$oModuleModel = &getModel('module');
if($oModuleModel->isSiteAdmin()) return true;