From d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Mon, 16 Oct 2017 22:34:48 +0100 Subject: bug fixes --- src/db.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/db.php') 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; } -- cgit v1.2.3