summaryrefslogtreecommitdiff
path: root/menus.php
diff options
context:
space:
mode:
authorHash9 <hash9@users.sourceforge.net>2006-10-29 21:28:41 +0000
committerHash9 <hash9@users.sourceforge.net>2006-10-29 21:28:41 +0000
commita140446ac7f56bdde1f0f5f52df057dae27aba22 (patch)
treeb68db2ad6fcd0e5e7f3696df3cdeaf47f348bd10 /menus.php
parent70e10eebff565f4c337079d85c0b7f1c45ebca36 (diff)
downloadnexus-a140446ac7f56bdde1f0f5f52df057dae27aba22.tar.gz
nexus-a140446ac7f56bdde1f0f5f52df057dae27aba22.tar.bz2
nexus-a140446ac7f56bdde1f0f5f52df057dae27aba22.zip
fix nexus so menus work when there is more than one menu present, reported by walterwoj
Diffstat (limited to 'menus.php')
-rw-r--r--menus.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/menus.php b/menus.php
index 3a4db05..25c31b0 100644
--- a/menus.php
+++ b/menus.php
@@ -1,7 +1,7 @@
<?php
/**
* @author xing <xing@synapse.plus.com>
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
* @package nexus
* @subpackage functions
*/
@@ -81,8 +81,8 @@ $gBitSmarty->assign( 'formfeedback', $formfeedback );
// options only available if there is a top bar menu
if( is_file( TEMP_PKG_PATH.'nexus/modules/top_bar_inc.tpl' ) ) {
// if the top bar is set and we don't need it, remove it.
+ $nuke_top_bar = TRUE;
foreach( $menuList as $menu ) {
- $nuke_top_bar = TRUE;
if( $menu['plugin_guid'] == NEXUS_PLUGIN_GUID_SUCKERFISH && $menu['menu_type'] == 'hor' ) {
$nuke_top_bar = FALSE;
}