mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 21:31:48 +01:00
added xhtml compliance to html_select_date's year_as_text-feature
thanks to Mark West
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user