]> git.mxchange.org Git - mailer.git/blobdiff - inc/fix_menu.php
More rewrites/templates swapped out:
[mailer.git] / inc / fix_menu.php
index 31d3f96ff73363aabc217aadc84827305b96dbdf..1fb3d21da5556be767ecd2a2966a4f7f15ce687f 100644 (file)
@@ -74,11 +74,20 @@ foreach (array('guest','member','admin') as $menu) {
                                if (is_null($entry['what'])) {
                                        // Main menu is double
                                        SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `action`='%s' AND `what` IS NULL LIMIT %s",
-                                               array($menu, $entry['action'], ($entries - 1)), __FILE__, __LINE__);
+                                               array(
+                                                       $menu,
+                                                       $entry['action'],
+                                                       ($entries - 1)
+                                               ), __FILE__, __LINE__);
                                } else {
                                        // Sub menu is double
                                        SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `action`='%s' AND `what`='%s' LIMIT %s",
-                                               array($menu, $entry['action'], $entry['what'], ($entries - 1)), __FILE__, __LINE__);
+                                               array(
+                                                       $menu,
+                                                       $entry['action'],
+                                                       $entry['what'],
+                                                       ($entries - 1)
+                                               ), __FILE__, __LINE__);
                                }
                        } // END - if
                }