fix mdb2 error handeling a bit

This commit is contained in:
Robin Appelman 2011-04-28 16:36:31 +02:00
parent b7aba15f17
commit e7c91b55b7

View file

@ -1500,7 +1500,7 @@ class MDB2_Driver_Common extends PEAR
}
}
$err = $this->raiseError(null, $code, $mode, $options, $userinfo, 'MDB2_Error', true);
$err = PEAR::raiseError(null, $code, $mode, $options, $userinfo, 'MDB2_Error', true);
if ($err->getMode() !== PEAR_ERROR_RETURN
&& isset($this->nested_transaction_counter) && !$this->has_transaction_error) {
$this->has_transaction_error =$err;