Commit f41fe074 authored by Tomek Jankowski's avatar Tomek Jankowski

Update Registry.php

parent d8620eff
...@@ -208,6 +208,6 @@ class Zend_Registry extends ArrayObject ...@@ -208,6 +208,6 @@ class Zend_Registry extends ArrayObject
*/ */
public function offsetExists($index) public function offsetExists($index)
{ {
return array_key_exists($index, $this); return property_exists($this, $index);
} }
} }
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