fix output of errors

This commit is contained in:
Uwe Steinmann 2017-02-28 07:14:46 +01:00
parent c3fea8b8bf
commit 9f042ad037

View File

@ -311,7 +311,7 @@ if ($action=="setSettings") {
$connTmp->exec($query); $connTmp->exec($query);
if ($connTmp->errorCode() != 0) { if ($connTmp->errorCode() != 0) {
$errorMsg .= $connTmp->errorInfo() . "<br/>"; $errorMsg .= $connTmp->errorInfo()[2] . "<br/>";
} }
} }
} }