Browse Source

ZF-6989 should address an issue with reused adapter an caching after a new request

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22828 44c647ce-9c0f-0410-b52a-842ac1e357ba
bate 15 years ago
parent
commit
891fea0de5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/Zend/Paginator.php

+ 1 - 1
library/Zend/Paginator.php

@@ -1012,7 +1012,7 @@ class Zend_Paginator implements Countable, IteratorAggregate
     protected function _getCacheInternalId()
     {
         return md5(serialize(array(
-            spl_object_hash($this->getAdapter()),
+            $this->getAdapter(),
             $this->getItemCountPerPage()
         )));
     }