Several rewrites/fixes which I have done yesterday but not commited, mxchange_die...
[mailer.git] / inc / modules / admin / what-admin_add.php
index 71fd7b841962af988757df6e5a486144a9158305..9b9479cc6696cf115b6e31d88fa0b1b076b355b9 100644 (file)
@@ -56,7 +56,7 @@ if (!IS_FORM_SENT())
        $menus = array(); $titles = array(); $below = array();
 
        // Get all available main menus
-       $result = SQL_QUERY("SELECT action, title, sort FROM `{!_MYSQL_PREFIX!}_admin_menu` WHERE (what='' OR `what` IS NULL) ORDER BY `sort`", __FILE__, __LINE__);
+       $result = SQL_QUERY("SELECT action, title, sort FROM `{!_MYSQL_PREFIX!}_admin_menu` WHERE (`what`='' OR `what` IS NULL) ORDER BY `sort`", __FILE__, __LINE__);
        if (SQL_NUMROWS($result) > 0) {
                // Read menu structure
                while ($content = SQL_FETCHARRAY($result)) {