HTML cleanup in fiscal years selector helper.
[fa-stable.git] / includes / ui / ui_lists.inc
index 456f01938aa6e5e5c76162e69a6984327d1713a1..2cc16888e5fdbd15a94e587fccbadc0ca1691843 100644 (file)
@@ -678,7 +678,7 @@ return combo_input($name, $selected_id, $sql, 'id', '',
 function _format_fiscalyears($row)
 {
        return sql2date($row[1]) . " - " . sql2date($row[2])
-       . "&nbsp;&nbsp;" . ($row[3] ? _('Closed') : _('Active')) . "</option>\n";
+       . "&nbsp;&nbsp;" . ($row[3] ? _('Closed') : _('Active'));
 }
 
 function fiscalyears_list_cells($label, $name, $selected_id=null)