Fix variable name.
authorJan Schneider <jan@horde.org>
Mon, 29 Nov 2010 16:12:18 +0000 (17:12 +0100)
committerJan Schneider <jan@horde.org>
Mon, 29 Nov 2010 17:01:34 +0000 (18:01 +0100)
framework/Core/lib/Horde/Registry.php

index 1598a31..717b4ef 100644 (file)
@@ -434,7 +434,7 @@ class Horde_Registry
                     if ($ob->set($id, $data, 86400)) {
                         Horde::logMessage('Horde_Registry: stored ' . $key . ' with cache ID ' . $id, 'DEBUG');
                     }
-                } elseif ($id = $this->_getCacheId($name)) {
+                } elseif ($id = $this->_getCacheId($key)) {
                     // Entry has been deleted.
                     $ob->expire($id);
                 }