I took a quick look at download_attachment.php, and there is this code block for checking if maintenance mode is enabled:When I switch on maintenance mode the attachments in the tickets are resulting in dead links or sql errors for the admins.
Code: Select all
// Are we in maintenance mode? (check customers only)
if (empty($SESSION['id'])) {
hesk_check_maintenance();
}