From bb746492d200122566557937aeb4bc7e7d20f6cc Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Fri, 27 Dec 2013 16:23:50 -0500 Subject: Issue #1504522 by rahulbile, Chi: Strict warning: Only variables should be passed by reference in update_results_page(). --- update.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index c3d404547..d79270305 100644 --- a/update.php +++ b/update.php @@ -178,7 +178,8 @@ function update_results_page() { $output = '

Updates were attempted. If you see no failures below, you may proceed happily back to your site. Otherwise, you may need to update your database manually.' . $log_message . '

'; } else { - list($module, $version) = array_pop(reset($_SESSION['updates_remaining'])); + $updates_remaining = reset($_SESSION['updates_remaining']); + list($module, $version) = array_pop($updates_remaining); $output = '

The update process was aborted prematurely while running update #' . $version . ' in ' . $module . '.module.' . $log_message; if (module_exists('dblog')) { $output .= ' You may need to check the watchdog database table manually.'; -- cgit v1.2.3