mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
fix output of errors
This commit is contained in:
parent
c3fea8b8bf
commit
9f042ad037
|
@ -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/>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user