Skip to content

Commit f04075c

Browse files
authored
Merge pull request #2391 from c960657/patch-2
Fix BC break in 1.3.7
2 parents 6f7783f + bb3f06d commit f04075c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function unserialize($serialized)
184184
$data = unserialize($serialized);
185185
// add a few extra elements in the array to ensure that we have enough keys when unserializing
186186
// older data which does not include all properties.
187-
$data = array_merge($data, array_fill(0, 2, null));
187+
$data = array_merge($data, array_fill(0, 4, null));
188188

189189
list(
190190
$this->password,

0 commit comments

Comments
 (0)