added xhtml compliance to html_select_date's year_as_text-feature

thanks to Mark West
This commit is contained in:
messju
2005-04-07 18:11:24 +00:00
parent 04a503f2cf
commit ced18471d2
2 changed files with 3 additions and 1 deletions

View File

@@ -253,7 +253,7 @@ function smarty_function_html_select_date($params, &$smarty)
if (null !== $year_extra){
$year_result .= ' ' . $year_extra;
}
$year_result .= '>';
$year_result .= ' />';
} else {
$years = range((int)$start_year, (int)$end_year);
if ($reverse_years) {