From 6b83e852d074463d0894b037245ef3ccff628545 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Tue, 28 Jul 2015 12:52:30 -0400 Subject: [PATCH] #209 Support new status table --- admin/change_status.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/change_status.php b/admin/change_status.php index bfd4ffc6..d645859e 100644 --- a/admin/change_status.php +++ b/admin/change_status.php @@ -58,13 +58,13 @@ hesk_token_check(); $trackingID = hesk_cleanID() or die($hesklang['int_error'].': '.$hesklang['no_trackID']); /* Valid statuses */ -$statusSql = "SELECT `ID`, `Key` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."statuses`"; +$statusSql = "SELECT `ID` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."statuses`"; $status_options = array(); $results = hesk_dbQuery($statusSql); while ($row = $results->fetch_assoc()) { - $status_options[$row['ID']] = $hesklang[$row['Key']]; + $status_options[$row['ID']] = mfh_getDisplayTextForStatusId($row['ID']); } /* New status */