From ae9143c9efb5e7ae2a9ba027431962585c83bb13 Mon Sep 17 00:00:00 2001
From: Rahul Bile <rahul.rmcet@gmail.com>
Date: Sun, 10 Nov 2013 11:33:15 +0530
Subject: [PATCH] update_strict_warning-1504522

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

diff --git a/update.php b/update.php
index 331e632..ca3c582 100644
--- a/update.php
+++ b/update.php
@@ -178,7 +178,8 @@ function update_results_page() {
     $output = '<p>Updates were attempted. If you see no failures below, you may proceed happily back to your <a href="' . base_path() . '">site</a>. Otherwise, you may need to update your database manually.' . $log_message . '</p>';
   }
   else {
-    list($module, $version) = array_pop(reset($_SESSION['updates_remaining']));
+    $updates_remaining = reset($_SESSION['updates_remaining']);
+    list($module, $version) = array_pop($updates_remaining);
     $output = '<p class="error">The update process was aborted prematurely while running <strong>update #' . $version . ' in ' . $module . '.module</strong>.' . $log_message;
     if (module_exists('dblog')) {
       $output .= ' You may need to check the <code>watchdog</code> database table manually.';
-- 
1.7.10.4

