mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Test fix
This commit is contained in:
@@ -757,6 +757,7 @@ class DoliDBPgsql extends DoliDB
|
||||
|
||||
$errorlabel = pg_last_error($this->db);
|
||||
$errorcode = '';
|
||||
$reg = array();
|
||||
if (preg_match('/: *([0-9P]+):/', $errorlabel, $reg)) {
|
||||
$errorcode = $reg[1];
|
||||
if (isset($errorcode_map[$errorcode])) {
|
||||
|
||||
Reference in New Issue
Block a user