Update html.form.class.php
This commit is contained in:
parent
bc353c19a9
commit
06c1d79c05
@ -8117,7 +8117,7 @@ class Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Note: $val['checked'] <> 0 means we must show the field into the combo list
|
// Note: $val['checked'] <> 0 means we must show the field into the combo list
|
||||||
$listoffieldsforselection .= '<li><input type="checkbox" id="checkbox'.$key.'" value="'.$key.'"'.((empty($val['checked']) || $val['checked'] != '-1') ? '' : ' checked="checked"').'/><label for="checkbox'.$key.'">'.dol_escape_htmltag($langs->trans($val['label'])).'</label></li>';
|
$listoffieldsforselection .= '<li><input type="checkbox" id="checkbox'.$key.'" value="'.$key.'"'.((empty($val['checked']) || $val['checked'] == '-1') ? '' : ' checked="checked"').'/><label for="checkbox'.$key.'">'.dol_escape_htmltag($langs->trans($val['label'])).'</label></li>';
|
||||||
$listcheckedstring .= (empty($val['checked']) ? '' : $key.',');
|
$listcheckedstring .= (empty($val['checked']) ? '' : $key.',');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user