From 5e5bb49a6d15e6e14fd262d3898c9fc328edd14c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 25 Mar 2007 20:59:25 +0000 Subject: [PATCH] - Patch #111697 by wesley: properly initialized user->time to prevent warnings/errors. --- includes/bootstrap.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 995b2f05fd50..55822034d950 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; }