diff options
-rw-r--r-- | update.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/update.php b/update.php index c28243c1a..a6b32e7dc 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); |