From 8e9e46ec47ae4c78e4910a786672e67b3deae1fa Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sat, 9 Jan 2016 21:01:20 -0500 Subject: [PATCH] Fix view ticket db issue --- ticket.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ticket.php b/ticket.php index 583c42dd..2960f223 100644 --- a/ticket.php +++ b/ticket.php @@ -40,14 +40,16 @@ require(HESK_PATH . 'hesk_settings.inc.php'); require(HESK_PATH . 'inc/common.inc.php'); require(HESK_PATH . 'inc/view_attachment_functions.inc.php'); -// Are we in maintenance mode? -hesk_check_maintenance(); hesk_load_database_functions(); -hesk_session_start(); /* Connect to database */ hesk_dbConnect(); + +// Are we in maintenance mode? +hesk_check_maintenance(); + +hesk_session_start(); $modsForHesk_settings = mfh_getSettings(); $hesk_error_buffer = array();