#73867, fixed warning, patch by bobathtmldotcom

4.7.x
Gerhard Killesreiter 2006-07-27 08:34:40 +00:00
parent bedebaabb7
commit 1c64342bc8
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ function cache_get($key) {
// cache timer. The cache variable is loaded into the $user object by
// sess_read() in session.inc.
else {
if ($user->cache > $cache->created) {
if (isset($user->cache) && ($user->cache > $cache->created)) {
// This cache data is too old and thus not valid for us, ignore it.
return 0;
}