diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-10-16 21:34:48 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-10-16 21:34:48 +0000 |
| commit | d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5 (patch) | |
| tree | 2a8d0520e8f538d1cb31931b37c23ab095885890 /src/db.php | |
| parent | 1bfadfa27cb0b94d2063054ccf78f8bfedd62f59 (diff) | |
| download | boca-d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5.tar.gz boca-d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5.zip | |
bug fixes
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; } |