Suppression de commentaires

This commit is contained in:
fredtempez 2019-02-12 14:38:30 +01:00
parent 0f490a4d61
commit ef0e40af72

View File

@ -2940,11 +2940,6 @@ class template {
$html .= sprintf('<select %s>', $html .= sprintf('<select %s>',
helper::sprintAttributes($attributes) 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) { foreach($options as $value => $text) {
$html .= sprintf( $html .= sprintf(
'<option value="%s"%s>%s</option>', '<option value="%s"%s>%s</option>',