summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/display.php b/inc/display.php
index 1ce1e609..c910e26c 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -21,6 +21,8 @@
function error($message) {
global $board;
+
+ if(function_exists('sql_close')) sql_close();
die(Element('page.html', Array(
'index'=>ROOT,
'title'=>'Error',