X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Ferrors.inc;h=56574f32ab74fb0e862f3b1297046c22bcb76be9;hb=e79c80704f4d0bc3d3792365dfd7ebf32f9b4227;hp=0e8b2578b1978d0e92f3fa5aca9bba8d93f2a67d;hpb=fc56b3d05d72a071ad1a514b0d1ef976ef57f940;p=fa-stable.git
diff --git a/includes/errors.inc b/includes/errors.inc
index 0e8b2578..56574f32 100644
--- a/includes/errors.inc
+++ b/includes/errors.inc
@@ -196,7 +196,7 @@ function display_db_error($msg, $sql_statement=null, $exit=true)
}
$str .= "
";
- if ($go_debug)
+ if (!$go_debug)
error_log($str);
else {
if($msg)