We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 508af3b commit 1bd8bb6Copy full SHA for 1bd8bb6
webfiori/database/mssql/MSSQLConnection.php
@@ -209,6 +209,11 @@ private function _setErr() {
209
$this->sqlState = $lastErr['SQLSTATE'];
210
$this->setErrMessage($lastErr['message']);
211
$this->setErrCode($lastErr['code']);
212
+ } else {
213
+ $lastErr = $allErrs[count($allErrs) - 2];
214
+ $this->sqlState = $lastErr['SQLSTATE'];
215
+ $this->setErrMessage($lastErr['message']);
216
+ $this->setErrCode($lastErr['code']);
217
}
218
219
0 commit comments