mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Template: output better html for select options
This commit is contained in:
parent
4a57728ddd
commit
43911d9a6f
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ function html_select_options($options, $selected, $params=array()) {
|
|||
$label = $label[$label_name];
|
||||
}
|
||||
$select = in_array($value, $selected) ? ' selected="selected"' : '';
|
||||
$html .= '<option value="' . $value . '"' . $select . '>' . $label . '</option>';
|
||||
$html .= '<option value="' . $value . '"' . $select . '>' . $label . '</option>'."\n";
|
||||
}
|
||||
return $html;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue