Explorar el Código

ZF-8809
Fixed the exception chain handling in Sqlsrv Exception

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20625 44c647ce-9c0f-0410-b52a-842ac1e357ba

ralph hace 16 años
padre
commit
93d1de3d0e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      library/Zend/Db/Adapter/Sqlsrv/Exception.php

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

@@ -58,6 +58,6 @@ class Zend_Db_Adapter_Sqlsrv_Exception extends Zend_Db_Adapter_Exception
             $code    = (int)    $message['code'];
             $message = (string) $message['message'];
        }
-       parent::__construct($message, new Exception($message, $code));
+       parent::__construct($message, $code, new Exception($message, $code));
    }
 }