diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 3ffa2d7d5de..cdea1c17e01 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -200,7 +200,7 @@ class FormTicket // Type print ''; - $this->selectTypesTickets((GETPOST('type_code') ? GETPOST('type_code') : $this->type_code), 'type_code', '', '2'); + $this->selectTypesTickets((GETPOST('type_code', 'alpha') ? GETPOST('type_code', 'alpha') : $this->type_code), 'type_code', '', '2', 0, 0, 0, 'minwidth150'); print ''; // Severity @@ -225,7 +225,7 @@ class FormTicket if ($this->withthreadid > 0) { $subject = $langs->trans('SubjectAnswerToTicket').' '.$this->withthreadid.' : '.$this->topic_title.''; } - print ''; + print ''; print ''; } } @@ -376,8 +376,8 @@ class FormTicket } $out = ''; - $out .= '' . $langs->trans("MailFile") . ''; - $out .= ''; + $out .= '' . $langs->trans("MailFile") . ''; + $out .= ''; // TODO Trick to have param removedfile containing nb of image to delete. But this does not works without javascript $out .= '' . "\n"; $out .= '