summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-05 09:54:43 -0800
committerBrion Vibber <brion@pobox.com>2010-01-05 09:54:43 -0800
commit16254c14c8984f457b13c32d2b9bc0baedfde448 (patch)
treef3d501fc231425965f367d8185eb2a97568e6e70 /lib
parent50185aafbb4b671ad04cff8dd736930d923c2ed0 (diff)
Typo fix in the new default in-process cache; spewed notice warnings on deletion, breaking XHR responses.
Diffstat (limited to 'lib')
-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;