diff options
author | Nils Adermann <naderman@naderman.de> | 2011-08-29 18:24:15 -0400 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2011-09-29 15:42:48 +0200 |
commit | 34f11a1039745ee1de48f1818f781ae1ee2b85ac (patch) | |
tree | 767ed91d087c5d8d5e881885da122d562f0c7fde /phpBB/includes/extension/finder.php | |
parent | 7435f344e20ae4dce875b46746f46ddc874e41f3 (diff) | |
download | forums-34f11a1039745ee1de48f1818f781ae1ee2b85ac.tar forums-34f11a1039745ee1de48f1818f781ae1ee2b85ac.tar.gz forums-34f11a1039745ee1de48f1818f781ae1ee2b85ac.tar.bz2 forums-34f11a1039745ee1de48f1818f781ae1ee2b85ac.tar.xz forums-34f11a1039745ee1de48f1818f781ae1ee2b85ac.zip |
[feature/extension-manager] Correct usage of false cache return value
PHPBB3-10323
Diffstat (limited to 'phpBB/includes/extension/finder.php')
-rw-r--r-- | phpBB/includes/extension/finder.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/extension/finder.php b/phpBB/includes/extension/finder.php index b3cdbd6ab9..d25823ca43 100644 --- a/phpBB/includes/extension/finder.php +++ b/phpBB/includes/extension/finder.php @@ -283,6 +283,11 @@ class phpbb_extension_finder if ($cache && $this->cache) { + if ($this->cached_queries === false) + { + $this->cached_queries = array(); + } + $this->cached_queries[$query] = $files; $this->cache->put('_extension_finder', $this->cached_queries); } |