diff options
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r-- | includes/bootstrap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 1c8b5c72d..7a4493991 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -2149,7 +2149,7 @@ function drupal_array_merge_deep_array($arrays) { * @return Object - the user object. */ function drupal_anonymous_user() { - $user = new stdClass(); + $user = variable_get('drupal_anonymous_user_object', new stdClass); $user->uid = 0; $user->hostname = ip_address(); $user->roles = array(); |