diff options
Diffstat (limited to 'phpBB/includes/acm/acm_db.php')
-rw-r--r-- | phpBB/includes/acm/acm_db.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/acm/acm_db.php b/phpBB/includes/acm/acm_db.php index 4b0cf6486c..e4d6e2b527 100644 --- a/phpBB/includes/acm/acm_db.php +++ b/phpBB/includes/acm/acm_db.php @@ -87,13 +87,14 @@ class acm } $this->var_expires = array(); - if (count($delete)) + if (sizeof($delete)) { $sql = 'DELETE FROM ' . CACHE_TABLE . " WHERE var_name IN ('" . implode("', '", $delete) . "')"; $db->sql_query($sql); } - if (count($insert)) + + if (sizeof($insert)) { switch (SQL_LAYER) { |