Old config.php is now automatically updated to new config-local.php format, several...
[mailer.git] / inc / modules / admin / what-repair_gmnu.php
index 1b468759c51364d3e02812dbe361d9b457aab669..50fc21ed3f96e0a48b398753be4b99263e96a505 100644 (file)
@@ -66,12 +66,12 @@ $result_sort = SQL_QUERY("UPDATE `{!_MYSQL_PREFIX!}_guest_menu` SET sort='999' W
 // Now sort every each menu
 foreach ($ACTIONS as $act) {
        $result_fix = SQL_QUERY_ESC("SELECT `id` FROM `{!_MYSQL_PREFIX!}_guest_menu` WHERE `action`='%s' AND `what` != '' AND `what` IS NOT NULL ORDER BY `sort`",
-               array($act), __FILE__, __LINE__);
+       array($act), __FILE__, __LINE__);
        $cnt = 1;
        while ($content = SQL_FETCHARRAY($result_fix)) {
                // Fix weight
                SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_guest_menu` SET sort=%s WHERE `id`=%s LIMIT 1",
-                       array($cnt, $content['id']), __FILE__, __LINE__);
+               array($cnt, $content['id']), __FILE__, __LINE__);
                $REP += SQL_AFFECTEDROWS();
 
                // Count one up