From e80888ae258e854d5a9b29a411e4cc2983136bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Tue, 15 May 2007 19:44:23 +0000 Subject: [PATCH] #141637 follow up patch by merlinofchaos: proper placement of menu_rebuild() to not run twice on the same request --- install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.php b/install.php index b52dfbbee76..981def2c8db 100644 --- a/install.php +++ b/install.php @@ -615,8 +615,6 @@ function install_tasks($profile, $task) { if ($task == 'configure') { drupal_set_title(st('Configure site')); - // Build menu to allow clean URL check. - menu_rebuild(); // We break the form up so we can tell when it's been successfully // submitted. @@ -641,6 +639,8 @@ function install_tasks($profile, $task) { drupal_process_form('install_configure_form', $form, $form_state); if (empty($form_state['redirect'])) { + // Build menu to allow clean URL check. + menu_rebuild(); $output = drupal_render_form('install_configure_form', $form); } else {