Skip to content
Snippets Groups Projects
Commit 72a14e3c authored by Brett Bieber's avatar Brett Bieber
Browse files

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

parent 709ec9d5
No related branches found
No related tags found
No related merge requests found
......@@ -50,11 +50,9 @@ class UNL_LDAP_Entry_Attribute extends ArrayIterator
return $this->count;
}
public function __wakeup()
public function unserialize($data)
{
if (isset($this->storage)) {
parent::__construct($this->storage);
}
parent::unserialize($data);
$this->rewind();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment