From: Bart Visscher Date: Thu, 24 Nov 2011 20:29:48 +0000 (+0100) Subject: Template: output better html for select options X-Git-Tag: v3.0~85^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=43911d9a6f403f8531b5caa5ac843565d98a2417;p=nextcloud-server.git Template: output better html for select options --- diff --git a/lib/template.php b/lib/template.php index d1439199e1e..881d2a27b1e 100644 --- a/lib/template.php +++ b/lib/template.php @@ -121,7 +121,7 @@ function html_select_options($options, $selected, $params=array()) { $label = $label[$label_name]; } $select = in_array($value, $selected) ? ' selected="selected"' : ''; - $html .= ''; + $html .= ''."\n"; } return $html; }