From a5383884339fffd5660f133a549c946873aee01a Mon Sep 17 00:00:00 2001 From: tnegre Date: Wed, 27 Nov 2024 14:24:22 +0100 Subject: [PATCH] FIX select type in ticket list (issue #31619 --- htdocs/core/class/html.formticket.class.php | 6 ++++-- htdocs/langs/en_US/ticket.lang | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index f30da8bc8b051..f557e9514d1c1 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -332,7 +332,7 @@ function(response) { // Type of Ticket print ''; - $this->selectTypesTickets((GETPOST('type_code', 'alpha') ? GETPOST('type_code', 'alpha') : $this->type_code), 'type_code', '', 2, 1, 0, 0, 'minwidth200'); + $this->selectTypesTickets((GETPOST('type_code', 'alpha') ? GETPOST('type_code', 'alpha') : $this->type_code), 'type_code', '', 2, 0, 0, 0, 'minwidth200'); print ''; // Group => Category @@ -718,6 +718,8 @@ public function selectTypesTickets($selected = '', $htmlname = 'tickettype', $fi print '