From f8b4adef234c4df77ccc27281cd7e7e0062f2bd7 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Wed, 20 Mar 2019 14:51:06 -0700 Subject: [PATCH] Ensure key exists before checking array value --- src/Symfony/Component/Cache/Traits/PhpFilesTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Cache/Traits/PhpFilesTrait.php b/src/Symfony/Component/Cache/Traits/PhpFilesTrait.php index b57addb54fb18..37d25f87a98fa 100644 --- a/src/Symfony/Component/Cache/Traits/PhpFilesTrait.php +++ b/src/Symfony/Component/Cache/Traits/PhpFilesTrait.php @@ -133,7 +133,7 @@ protected function doFetch(array $ids) */ protected function doHave($id) { - if ($this->appendOnly && $this->values[$id]) { + if ($this->appendOnly && isset($this->values[$id])) { return true; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy