]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/sponsor_functions.php
Several rewrites/fixes which I have done yesterday but not commited, mxchange_die...
[mailer.git] / inc / libs / sponsor_functions.php
index e76834d86d5dbcc8d0b2a7571922247e19d5d1cc..d29e209338b9823b25a800e5263d99cf2aa054ad 100644 (file)
@@ -278,7 +278,7 @@ function GENERATE_SPONSOR_MENU($current)
 
        // Load main menu entries
        $result_main = SQL_QUERY("SELECT action AS main_action, title AS main_title FROM `{!_MYSQL_PREFIX!}_sponsor_menu`
-WHERE (what='' OR `what` IS NULL) ".$WHERE."
+WHERE (`what`='' OR `what` IS NULL) ".$WHERE."
 ORDER BY `sort`", __FUNCTION__, __LINE__);
        if (SQL_NUMROWS($result_main) > 0) {
                // Load every menu and it's sub menus