Skip to content

Commit

Permalink
fixes issue #101111 by forcing array type
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingmedia committed Jan 29, 2017
1 parent da16081 commit 6a7e8c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ORM/ResultSet.php
Expand Up @@ -330,7 +330,8 @@ public function serialize()
*/
public function unserialize($serialized)
{
$this->_results = unserialize($serialized);
// closes #10111 prevent SqlFixedArray instances
$this->_results = (array)unserialize($serialized);
$this->_useBuffering = true;
$this->_count = count($this->_results);
}
Expand Down

0 comments on commit 6a7e8c8

Please sign in to comment.