Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jeff Sturek
PlanetRed
Commits
72a14e3c
Commit
72a14e3c
authored
Dec 06, 2010
by
Brett Bieber
Browse files
__wakeup() is not called because arrayiterator implements serializable interface.
parent
709ec9d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/php/UNL/LDAP/Entry/Attribute.php
View file @
72a14e3c
...
...
@@ -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
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment