From 4d731dd369588fe327da276267df489ea978cf7e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 25 Mar 2007 20:54:33 +0000 Subject: - Patch #111697 by wesley: properly initialized user->time to prevent warnings/errors. --- includes/bootstrap.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 43323eb42..13e584452 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -742,6 +742,7 @@ function drupal_anonymous_user($session = '') { $user->roles = array(); $user->roles[DRUPAL_ANONYMOUS_RID] = 'anonymous user'; $user->session = $session; + $user->cache = 0; return $user; } -- cgit v1.2.3