diff --git includes/common.inc includes/common.inc index af818b9..924f453 100644 --- includes/common.inc +++ includes/common.inc @@ -4534,6 +4534,10 @@ function _drupal_bootstrap_full() { // this before invoking hook_init(), since any modules which initialize the // theme system will prevent a custom theme from being correctly set later. menu_set_custom_theme(); + + // Now that all modules are loaded, build the full $user object. + $user = user_load($GLOBALS['user']->uid); + // Let all modules take action before menu system handles the request // We do not want this while running update.php. if (!defined('MAINTENANCE_MODE') || MAINTENANCE_MODE != 'update') {