]> git.mxchange.org Git - mailer.git/commitdiff
Fix for guest menu (opps)
authorRoland Häder <roland@mxchange.org>
Wed, 17 Sep 2008 11:42:32 +0000 (11:42 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 17 Sep 2008 11:42:32 +0000 (11:42 +0000)
inc/databases.php
inc/mysql-manager.php

index d8b460b86dfca8b9425bfa24e13dc5511b6ce2b4..aaa158a63b122757753274bcba915c9f11e21822 100644 (file)
@@ -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);
index 0739eabb2a66026c6ff1682f2a68bb5de4509c1a..79fcc639933dfe75f3a4648fd43923d552ff89a3 100644 (file)
@@ -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) {