diff --git a/inc/display.php b/inc/display.php index 028ca1aa..58f26960 100644 --- a/inc/display.php +++ b/inc/display.php @@ -20,7 +20,7 @@ } function error($message) { - global $board; + global $board, $mod; if(function_exists('sql_close')) sql_close(); die(Element('page.html', Array( @@ -29,7 +29,10 @@ 'subtitle'=>'An error has occured.', 'body'=>"