From 63ac367e4f2a7e5ca0c46a740033841806543cc9 Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Sat, 24 Oct 2009 01:31:05 +0000
Subject: [PATCH] #585628 by catch: Fixed accessing update.php as anonymous
 user.

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

diff --git a/update.php b/update.php
index 89dc829f0740..2d4f1e50ed83 100644
--- a/update.php
+++ b/update.php
@@ -395,6 +395,8 @@ function update_check_requirements() {
   $output = update_access_denied_page();
 }
 if (isset($output) && $output) {
+  // Explictly start a session so that the update.php token will be accepted.
+  drupal_session_start();
   // We defer the display of messages until all updates are done.
   $progress_page = ($batch = batch_get()) && isset($batch['running']);
   print theme('update_page', array('content' => $output, 'show_messages' => !$progress_page));
-- 
GitLab