NOISSUE PHP 5.4 이상 호환성 개선.

This commit is contained in:
bnu 2013-11-30 17:35:22 +09:00
parent 742af78932
commit 41ff8ace3b
32 changed files with 365 additions and 113 deletions

View file

@ -1556,11 +1556,13 @@ class menuAdminController extends menu
$xml_info = $oModuleModel->getModuleActionXML($moduleInfo->module);
$grantList = $xml_info->grant;
if(!$grantList) $grantList = new stdClass;
$grantList->access = new stdClass();
$grantList->access->default = 'guest';
$grantList->manager = new stdClass();
$grantList->manager->default = 'manager';
$grant = new stdClass;
foreach($grantList AS $grantName=>$grantInfo)
{
if(!$htPerm[$grantName])