From f64aa7a2cc145a628fa6bfa9cf9da756856d98cb Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sun, 9 Aug 2015 17:04:11 -0400 Subject: [PATCH] Should be ID, not Id --- admin/manage_statuses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/manage_statuses.php b/admin/manage_statuses.php index 92fb65ef..13d9a4fd 100644 --- a/admin/manage_statuses.php +++ b/admin/manage_statuses.php @@ -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;