summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-08 23:05:22 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-08 23:05:22 +0000
commit82ca828b03a463e89fa5b7af374faf5e2526e880 (patch)
tree138348d54b645fc43562f8fdc18d837356a8ff02
parentb73417011b4a9d92f23fa8885a0a21f9983e761c (diff)
downloadbrdo-82ca828b03a463e89fa5b7af374faf5e2526e880.tar.gz
brdo-82ca828b03a463e89fa5b7af374faf5e2526e880.tar.bz2
#82806 by dww. Remove warning for updating without performing any updates.
-rw-r--r--update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index 3f18b2689..457dcc3f7 100644
--- a/update.php
+++ b/update.php
@@ -420,7 +420,7 @@ function update_progress_page() {
* the overall percentage finished. The second element is a status message.
*/
function update_do_updates() {
- while (($update = reset($_SESSION['update_remaining']))) {
+ while (isset($_SESSION['update_remaining']) && ($update = reset($_SESSION['update_remaining']))) {
$update_finished = update_data($update['module'], $update['version']);
if ($update_finished == 1) {
// Dequeue the completed update.