Fix sql error

This commit is contained in:
Laurent Destailleur (aka Eldy)
2025-01-16 15:33:00 +01:00
parent 5e7ed6ba6d
commit a233abdcc5

View File

@@ -496,7 +496,7 @@ function ajax_combobox($htmlname, $events = array(), $minLengthToAutocomplete =
}
$msg .= ' width: \''.dol_escape_js($widthTypeOfAutocomplete).'\', /* off or resolve */
minimumInputLength: '.((int) $minLengthToAutocomplete).',
language: (typeof select2arrayoflanguage === \'undefined\') ? \'en\' : select2arrayoflanguage),
language: (typeof select2arrayoflanguage === \'undefined\') ? \'en\' : select2arrayoflanguage,
matcher: function (params, data) {
if ($.trim(params.term) === "") {
return data;