2
0
Переглянути джерело

ZF-6989: changed the result object hash generation on request, do fix a possible problem

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22307 44c647ce-9c0f-0410-b52a-842ac1e357ba
bate 15 роки тому
батько
коміт
52af4f5f6a
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      library/Zend/Paginator.php

+ 1 - 1
library/Zend/Paginator.php

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