Explorar o código

Fixes #262 - Zend_Db_Adapter_Exception::hasChainedException()

Frank Brückner %!s(int64=12) %!d(string=hai) anos
pai
achega
d13a419a56
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      library/Zend/Db/Adapter/Exception.php

+ 1 - 1
library/Zend/Db/Adapter/Exception.php

@@ -46,7 +46,7 @@ class Zend_Db_Adapter_Exception extends Zend_Db_Exception
 
     public function hasChainedException()
     {
-        return ($this->_previous !== null);
+        return ($this->getPrevious() !== null);
     }
 
     public function getChainedException()