diff options
Diffstat (limited to 'menu_register_inc.php')
| -rw-r--r-- | menu_register_inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/menu_register_inc.php b/menu_register_inc.php index 5ca9926..da41605 100644 --- a/menu_register_inc.php +++ b/menu_register_inc.php @@ -21,7 +21,7 @@ foreach( array_keys( $gBitSystem->mPackages ) as $package ) { if( $gBitUser->hasPermission( 'p_'.$package.'_admin' ) ) { $package = strtolower( $package ); $tpl = "bitpackage:$package/menu_".$package."_admin.tpl"; - if(( $gBitSystem->isPackageActive( $package ) || $package == 'kernel') && @$gBitSmarty->template_exists( $tpl )) { + if(( $gBitSystem->isPackageActive( $package ) || $package == 'kernel') && $gBitSmarty->template_exists( $tpl )) { $adminMenu[$package]['tpl'] = $tpl; $adminMenu[$package]['display'] = 'display:'.( empty( $package ) || ( isset( $_COOKIE[$package.'admenu'] ) && ( $_COOKIE[$package.'admenu'] == 'o' ) ) ? 'block;' : 'none;' ); } |
