Debug v21

This commit is contained in:
Laurent Destailleur 2024-11-12 23:44:36 +01:00
parent 2f207dd347
commit 5283a67cc2

View file

@ -504,7 +504,7 @@ class Export
public function build_filterField($TypeField, $NameField, $ValueField)
{
// phpcs:enable
global $conf, $langs, $form;
global $langs, $form;
$szFilterField = '';
$InfoFieldList = explode(":", $TypeField);
@ -610,7 +610,7 @@ class Export
if (!empty($ValueField) && $ValueField == $obj->rowid) {
$szFilterField .= '<option value="'.$obj->rowid.'" selected data-html="'.dolPrintHTMLForAttribute($labeltoshow).'">'.dolPrintHTML($labeltoshow).'</option>';
} else {
$szFilterField .= '<option value="'.$obj->rowid.'" selected data-html="'.dolPrintHTMLForAttribute($labeltoshow).'">'.$labeltoshow.'</option>';
$szFilterField .= '<option value="'.$obj->rowid.'" data-html="'.dolPrintHTMLForAttribute($labeltoshow).'">'.$labeltoshow.'</option>';
}
$i++;
}