diff options
Diffstat (limited to 'src/db.php')
| -rw-r--r-- | src/db.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -188,8 +188,8 @@ function DBExecNonStop($conn,$sql,$txt='') { if($txt=='') $txt='unknown at '. getFunctionName(); $result = @DB_pg_exec ($conn, $sql); if (!$result) { - LOGLevel("Unable to exec SQL in the database ($txt). " . - " Error=(" . pg_errormessage($conn) . ")", 2); + LOGError("Unable to exec SQL in the database ($txt). " . + " Error=(" . pg_errormessage($conn) . ")"); } return $result; } |