From 29aa70aab715d6d22737f912c8961220439e8b01 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Thu, 11 Sep 2014 21:52:44 -0400 Subject: [PATCH] custom0 isn't a valid custom field --- inc/ticket_list.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ticket_list.inc.php b/inc/ticket_list.inc.php index 8a15307c..a684e487 100644 --- a/inc/ticket_list.inc.php +++ b/inc/ticket_list.inc.php @@ -317,7 +317,7 @@ if ($total > 0) $ownerColumn = $ticket['owner'] != 0 ? $admins[$ticket['owner']] : '('.$hesklang['unas'].')'; $customFieldsHtml = ''; - for ($i = 0; $i <= 20; $i++) { + for ($i = 1; $i <= 20; $i++) { if ($hesk_settings['custom_fields']['custom'.$i]['use']) { $display = 'display: none'; if ((isset($_GET['sort']) && $_GET['sort'] == 'custom'.$i) || (isset($_GET['what']) && $_GET['what'] == 'custom'.$i)) {