Commit 72a14e3c authored by Brett Bieber's avatar Brett Bieber
Browse files

__wakeup() is not called because arrayiterator implements serializable interface.

parent 709ec9d5
...@@ -50,11 +50,9 @@ class UNL_LDAP_Entry_Attribute extends ArrayIterator ...@@ -50,11 +50,9 @@ class UNL_LDAP_Entry_Attribute extends ArrayIterator
return $this->count; return $this->count;
} }
public function __wakeup() public function unserialize($data)
{ {
if (isset($this->storage)) { parent::unserialize($data);
parent::__construct($this->storage);
}
$this->rewind(); $this->rewind();
} }
......
Supports Markdown
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