Skip to content
Snippets Groups Projects
Commit 7e36f27f authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2471737 by klausi: PageCache::get() should return FALSE on a cache miss...

Issue #2471737 by klausi: PageCache::get() should return FALSE on a cache miss as promised by the docs
parent 2ca1f2db
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -255,6 +255,7 @@ protected function get(Request $request, $allow_invalid = FALSE) { ...@@ -255,6 +255,7 @@ protected function get(Request $request, $allow_invalid = FALSE) {
if ($cache = $this->cache->get($cid, $allow_invalid)) { if ($cache = $this->cache->get($cid, $allow_invalid)) {
return $cache->data; return $cache->data;
} }
return FALSE;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment