diff --git a/core/lib/Drupal/Core/Cache/StaticCache/StaticCache.php b/core/lib/Drupal/Core/Cache/StaticCache/StaticCache.php index ee47756..b252807 100644 --- a/core/lib/Drupal/Core/Cache/StaticCache/StaticCache.php +++ b/core/lib/Drupal/Core/Cache/StaticCache/StaticCache.php @@ -38,7 +38,7 @@ protected function prepareItem($cache, $allow_invalid) { // Check expire time. $cache->valid = $cache->expire == Cache::PERMANENT || $cache->expire >= $this->getRequestTime(); - if (!$allow_invalid && !$prepared->valid) { + if (!$allow_invalid && !$cache->valid) { return FALSE; }