summaryrefslogtreecommitdiff
path: root/menus.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2006-02-19 18:02:16 +0000
committerLester Caine <lester@lsces.co.uk>2006-02-19 18:02:16 +0000
commit97164dc8f1520a8ec28e6a46c40c4920e9658b0c (patch)
tree0750d204d33a5645ecb03b88833d8978e506a40f /menus.php
parent963cb33ad947ebce82028e199085c208b35f1f9d (diff)
downloadnexus-97164dc8f1520a8ec28e6a46c40c4920e9658b0c.tar.gz
nexus-97164dc8f1520a8ec28e6a46c40c4920e9658b0c.tar.bz2
nexus-97164dc8f1520a8ec28e6a46c40c4920e9658b0c.zip
Fix reserved word field names
TYPE - SQL Reserved
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 3ee07aa..13773e0 100644
--- a/menus.php
+++ b/menus.php
@@ -1,7 +1,7 @@
<?php
/**
* @author xing <xing@synapse.plus.com>
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @package nexus
* @subpackage functions
*/
@@ -88,7 +88,7 @@ $gBitSmarty->assign( 'formfeedback', $formfeedback );
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.
foreach( $menuList as $menu ) {
- if( !( $menu['plugin_guid'] == NEXUS_PLUGIN_GUID_SUCKERFISH && $menu['type'] == 'hor' ) ) {
+ if( !( $menu['plugin_guid'] == NEXUS_PLUGIN_GUID_SUCKERFISH && $menu['menu_type'] == 'hor' ) ) {
$nuke_top_bar = TRUE;
}
}