Suppression de commentaires

This commit is contained in:
fredtempez 2019-02-12 14:38:30 +01:00
parent 0f490a4d61
commit ef0e40af72
1 changed files with 0 additions and 5 deletions

View File

@ -2940,11 +2940,6 @@ class template {
$html .= sprintf('<select %s>',
helper::sprintAttributes($attributes)
);
// Options
// Quand selected vaut 0, afficher une sélection vide
//if ($attributes['selected'] === 0) {
// $html .= sprintf('<option value=""></option>');
//}
foreach($options as $value => $text) {
$html .= sprintf(
'<option value="%s"%s>%s</option>',