From 26344b89af8f778e2bdd779859cd1932441e120c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 17 Sep 2008 11:42:32 +0000 Subject: [PATCH] Fix for guest menu (opps) --- inc/databases.php | 2 +- inc/mysql-manager.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index d8b460b86d..aaa158a63b 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "349"); +define('CURR_SVN_REVISION', "350"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 0739eabb2a..79fcc63993 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -345,7 +345,7 @@ function ADD_MENU($MODE, $act, $wht) { // Load menu header template LOAD_TEMPLATE($MODE."_menu_title", false, $content); - $result_sub = SQL_QUERY_ESC("SELECT title, what FROM "._MYSQL_PREFIX."_%s_menu WHERE action='%s' AND what != '' AND what IS NOT NULL".$AND." ORDER BY sort", + $result_sub = SQL_QUERY_ESC("SELECT title, what FROM "._MYSQL_PREFIX."_%s_menu WHERE action='%s' AND what != '' AND what IS NOT NULL ".$AND." ORDER BY sort", array($MODE, $main_action), __FILE__, __LINE__); $ctl = SQL_NUMROWS($result_sub); if ($ctl > 0) { -- 2.39.5