aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver/memory.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/cache/driver/memory.php')
-rw-r--r--phpBB/phpbb/cache/driver/memory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/cache/driver/memory.php b/phpBB/phpbb/cache/driver/memory.php
index cc03804705..052f40c243 100644
--- a/phpBB/phpbb/cache/driver/memory.php
+++ b/phpBB/phpbb/cache/driver/memory.php
@@ -188,7 +188,7 @@ abstract class memory extends \phpbb\cache\driver\base
}
else
{
- if (!sizeof($this->vars))
+ if (!count($this->vars))
{
$this->load();
}