Commit 7db5d89b authored by Tomek Jankowski's avatar Tomek Jankowski

Update Registry.php

parent f41fe074
......@@ -208,6 +208,6 @@ class Zend_Registry extends ArrayObject
*/
public function offsetExists($index)
{
return property_exists($this, $index);
return array_key_exists($index, (array) $this);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment