summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/drivers/Cache/Database.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/libraries/drivers/Cache/Database.php')
-rw-r--r--modules/gallery/libraries/drivers/Cache/Database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/drivers/Cache/Database.php b/modules/gallery/libraries/drivers/Cache/Database.php
index 085c5c35..ff982396 100644
--- a/modules/gallery/libraries/drivers/Cache/Database.php
+++ b/modules/gallery/libraries/drivers/Cache/Database.php
@@ -130,7 +130,7 @@ class Cache_Database_Driver extends Cache_Driver {
// Make sure the expiration is valid and that the hash matches
if ($cache->expiration != 0 && $cache->expiration <= time()) {
// Cache is not valid, delete it now
- $this->delete($cache->id);
+ $this->delete(array($cache->id));
} else {
// Disable notices for unserializing
$ER = error_reporting(~E_NOTICE);