diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 633ce04a1eb..34b84dc24af 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -212,7 +212,8 @@ function isModEnabled($module) $arrayconv = array( 'project' => 'projet', 'contract' => 'contrat', - 'bank' => 'banque' + 'bank' => 'banque', + 'category' => 'categorie' ); if (empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD)) { $arrayconv['supplier_order'] = 'fournisseur'; diff --git a/htdocs/ticket/list.php b/htdocs/ticket/list.php index 17338093ed6..763df3df2fe 100644 --- a/htdocs/ticket/list.php +++ b/htdocs/ticket/list.php @@ -851,7 +851,7 @@ foreach ($object->fields as $key => $val) { print ''; } elseif ($key == 'type_code') { print ''; - $formTicket->selectTypesTickets(dol_escape_htmltag(empty($search[$key]) ? '' : $search[$key]), 'search_'.$key, '', 2, 1, 1, 0, (!empty($val['css']) ? $val['css'] : 'maxwidth150'), 1); + $formTicket->selectTypesTickets(empty($search[$key]) ? '' : $search[$key], 'search_'.$key, '', 2, 1, 1, 0, (!empty($val['css']) ? $val['css'] : 'maxwidth150'), 1); print ''; } elseif ($key == 'category_code') { print '';