aboutsummaryrefslogtreecommitdiff
path: root/src/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.php')
-rw-r--r--src/db.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db.php b/src/db.php
index 8f0c735..2f6dd57 100644
--- a/src/db.php
+++ b/src/db.php
@@ -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;
}