From 82ca828b03a463e89fa5b7af374faf5e2526e880 Mon Sep 17 00:00:00 2001
From: Neil Drumm <drumm@3064.no-reply.drupal.org>
Date: Fri, 8 Sep 2006 23:05:22 +0000
Subject: [PATCH] #82806 by dww. Remove warning for updating without performing
 any updates.

---
 update.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update.php b/update.php
index 3f18b2689278..457dcc3f7326 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.
-- 
GitLab