mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/extension-manager] Correct usage of false cache return value
PHPBB3-10323
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user