瀏覽代碼

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 年之前
父節點
當前提交
891fea0de5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()
     protected function _getCacheInternalId()
     {
     {
         return md5(serialize(array(
         return md5(serialize(array(
-            spl_object_hash($this->getAdapter()),
+            $this->getAdapter(),
             $this->getItemCountPerPage()
             $this->getItemCountPerPage()
         )));
         )));
     }
     }