Should be ID, not Id

merge-requests/2/head
Mike Koch 9 years ago
parent 8fa5bc95b8
commit f64aa7a2cc

@ -645,7 +645,7 @@ function createStatus() {
$my_order = $row[0]+10;
// Get the next status id
$res = hesk_dbQuery("SELECT `ID` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."statuses` ORDER BY `Id` DESC LIMIT 1");
$res = hesk_dbQuery("SELECT `ID` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."statuses` ORDER BY `ID` DESC LIMIT 1");
$row = hesk_dbFetchAssoc($res);
$nextId = $row['ID'] + 1;

Loading…
Cancel
Save