From 45ff81b55c38e1c7b57dbe9fce2f9a39b84a3328 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 20 Jun 2006 21:15:44 +0000 Subject: [PATCH] - Patch #69405 by dww: fixed update.php. --- update.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update.php b/update.php index c28243c1a50..a6b32e7dc4d 100644 --- a/update.php +++ b/update.php @@ -661,11 +661,14 @@ ini_set('display_errors', FALSE); include_once './includes/bootstrap.inc'; update_fix_system_table(); -update_fix_access_table(); drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); drupal_maintenance_theme(); +// This must happen *after* drupal_bootstrap(), since it calls +// variable_(get|set), which only works after a full bootstrap. +update_fix_access_table(); + // Turn error reporting back on. From now on, only fatal errors (which are // not passed through the error handler) will cause a message to be printed. ini_set('display_errors', TRUE);