diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-29 09:12:03 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-29 09:12:03 +0000 |
commit | bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2 (patch) | |
tree | cec3f6333255ce0632498c8594bd56c67a140726 /update.php | |
parent | ad0e8b5615f4585f78ccbe27912c2545875a77f1 (diff) | |
download | brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.gz brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.bz2 |
#80574 Eaton and chx. Replace $_POST['edit'] with $_POST.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update.php b/update.php index 5e4454fee..2e9390d08 100644 --- a/update.php +++ b/update.php @@ -377,7 +377,7 @@ function update_script_selection_form() { function update_update_page() { // Set the installed version so updates start at the correct place. - foreach ($_POST['edit']['start'] as $module => $version) { + foreach ($_POST['start'] as $module => $version) { drupal_set_installed_schema_version($module, $version - 1); $updates = drupal_get_schema_versions($module); $max_version = max($updates); @@ -393,7 +393,7 @@ function update_update_page() { // Keep track of total number of updates $_SESSION['update_total'] = count($_SESSION['update_remaining']); - if ($_POST['edit']['has_js']) { + if ($_POST['has_js']) { return update_progress_page(); } else { |