diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-30 17:37:36 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-30 17:37:36 +0000 |
commit | 7c3493c45bbc25a94b21ad1a3fca160fa67c4df1 (patch) | |
tree | 82d7b7ee8c1304908f8ea84fd66ba093dbe7e5a9 | |
parent | 47258bc309db674c1b5641fdbf1eb4b3d0c2d72d (diff) | |
download | brdo-7c3493c45bbc25a94b21ad1a3fca160fa67c4df1.tar.gz brdo-7c3493c45bbc25a94b21ad1a3fca160fa67c4df1.tar.bz2 |
#506458 by quicksketch: Replace missing global user so that page caching works again.
-rw-r--r-- | includes/cache.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/cache.inc b/includes/cache.inc index 1abf74844..b8fb7dd90 100644 --- a/includes/cache.inc +++ b/includes/cache.inc @@ -336,6 +336,8 @@ class DrupalDatabaseCache implements DrupalCacheInterface { * valid item to load. */ protected function prepareItem($cache) { + global $user; + if (!isset($cache->data)) { return FALSE; } |