#209 Support new status table
This commit is contained in:
parent
22e8a8efe9
commit
6b83e852d0
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user