HTML cleanup in fiscal years selector helper.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Sat, 11 Apr 2015 22:58:31 +0000 (00:58 +0200)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Wed, 6 May 2015 20:31:07 +0000 (22:31 +0200)
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]) . "&nbsp;-&nbsp;" . 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)