Procházet zdrojové kódy

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 před 15 roky
rodič
revize
52af4f5f6a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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()
         )));
     }