mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 03:54:09 +02:00
Issue #2883 Permission fixes.
This commit is contained in:
@@ -1964,7 +1964,8 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
||||
$active = '';
|
||||
foreach ($array_functions as $key => $subitem)
|
||||
{
|
||||
if(!empty($subitem[3]) && !getperms($subitem[3]))
|
||||
|
||||
if(isset($subitem[3]) && $subitem[3] !== false && !getperms($subitem[3]))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -2077,8 +2078,7 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
// print_a($menu_vars);
|
||||
|
||||
// e107::getDebug()->log($menu_vars);
|
||||
|
||||
|
||||
return e107::getNav()->admin('', $active, $menu_vars, $$tmpl, false, false);
|
||||
|
Reference in New Issue
Block a user