Skip to content
Permalink
Browse files

fixes issue #101111 by forcing array type

  • Loading branch information...
thinkingmedia
thinkingmedia committed Jan 29, 2017
1 parent da16081 commit 6a7e8c8c08d7c2b81c9bd175d7bca20434cf177f
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/ORM/ResultSet.php
@@ -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);
}

0 comments on commit 6a7e8c8

Please sign in to comment.
You can’t perform that action at this time.