summaryrefslogtreecommitdiff
path: root/lib/cache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cache.php')
-rw-r--r--lib/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache.php b/lib/cache.php
index bac3499e5..85e8badc1 100644
--- a/lib/cache.php
+++ b/lib/cache.php
@@ -170,7 +170,7 @@ class Cache
$success = false;
if (Event::handle('StartCacheDelete', array(&$key, &$success))) {
- if (array_key_exists($key, $this->_items[$key])) {
+ if (array_key_exists($key, $this->_items)) {
unset($this->_items[$key]);
}
$success = true;