]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-repair_amnu.php
Fix for inserted codes while registering of extensions, many rewrites/cleanups:
[mailer.git] / inc / modules / admin / what-repair_amnu.php
index 00cb2d514e91277ca575e21d92928b00b3e6ef48..c9fc15ea22a56df3547ee3b0a1eba3e72df37695 100644 (file)
@@ -48,7 +48,7 @@ addMenuDescription('admin', __FILE__);
 $ACTIONS = array();
 
 // First fix all main menus (what = '')...
-$result_fix = SQL_QUERY("SELECT id, action FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE (`what`='' OR `what` IS NULL) AND action != 'logout' ORDER BY `sort` ASC", __FILE__, __LINE__);
+$result_fix = SQL_QUERY("SELECT `id`, `action` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE (`what`='' OR `what` IS NULL) AND `action` != 'logout' ORDER BY `sort` ASC", __FILE__, __LINE__);
 $cnt = '0'; $REP = '0';
 while ($content = SQL_FETCHARRAY($result_fix)) {
        // Store act value for later usage in sorting sub menus