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 лет назад
Родитель
Сommit
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()
         )));
     }