From 10c7f00881afd73eeaa19ef16ef691821db3a01e Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Tue, 4 Apr 2017 12:16:42 -0400 Subject: [PATCH] Fix audit trail when changing status --- admin/change_status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/change_status.php b/admin/change_status.php index 9e6a572d..42d002f1 100644 --- a/admin/change_status.php +++ b/admin/change_status.php @@ -88,7 +88,7 @@ if ($statusRow['IsClosed']) // Closed // Log who marked the ticket resolved $closedby_sql = ' , `closedat`=NOW(), `closedby`=' . intval($_SESSION['id']) . ' '; -} elseif ($statusRow['IsNewTicketStatus'] == '0') //Ticket is still open, but not new +} elseif ($statusRow['IsNewTicketStatus'] == 0) //Ticket is still open, but not new { $action = sprintf($hesklang['tsst'], $status_options[$status]); $revision = sprintf($hesklang['thist9'], hesk_date(), $status_options[$status], $_SESSION['name'] . ' (' . $_SESSION['user'] . ')');