Should be ID, not Id
This commit is contained in:
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…
x
Reference in New Issue
Block a user