X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Ferrors.inc;h=bfa213d5514d96ab1ac59e87e22fa8ffcc2619ba;hb=6989100b74130784a524b1f941b3ae73f30f663a;hp=68c26488579285aa949d3b777406e85a96612523;hpb=286e6233d6d7d63fbaafea42475ecbd5f4cf0dd0;p=fa-stable.git
diff --git a/includes/errors.inc b/includes/errors.inc
index 68c26488..bfa213d5 100644
--- a/includes/errors.inc
+++ b/includes/errors.inc
@@ -162,8 +162,7 @@ function check_db_error($msg, $sql_statement, $exit_if_error=true, $rollback_if_
if ($exit_if_error)
{
- echo "
";
- exit;
+ end_page(); exit;
}
}
return $db_error;