diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-12-24 06:52:02 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-12-24 06:52:02 +0000 |
commit | 11358d74e4f7d5351801776c40324ae0b5b77965 (patch) | |
tree | 30fd9002cc77bdb9d383d0998c10d705866d7133 /update.php | |
parent | 57e402e0d011365acca6fdce6cbb07098abb0d79 (diff) | |
download | brdo-11358d74e4f7d5351801776c40324ae0b5b77965.tar.gz brdo-11358d74e4f7d5351801776c40324ae0b5b77965.tar.bz2 |
#10457: Warnings during update process
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/update.php b/update.php index f7f71ce88..179423d8e 100644 --- a/update.php +++ b/update.php @@ -59,9 +59,14 @@ function update_page_footer() { function update_page() { global $user, $sql_updates; - $edit = $_POST["edit"]; + if (isset($_POST['edit'])) { + $edit = $_POST['edit']; + } + if (isset($_POST['op'])) { + $op = $_POST['op']; + } - switch ($_POST["op"]) { + switch ($op) { case "Update": // make sure we have updates to run. print update_page_header("Drupal database update"); |