mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
fixed logic so this works right when field_separator = "/"
This commit is contained in:
@@ -202,7 +202,9 @@ function smarty_function_html_select_date($params, &$smarty)
|
||||
break;
|
||||
}
|
||||
// Add the field seperator
|
||||
$html_result .= $field_separator;
|
||||
if($i != 2) {
|
||||
$html_result .= $field_separator;
|
||||
}
|
||||
}
|
||||
|
||||
print $html_result;
|
||||
|
@@ -202,7 +202,9 @@ function smarty_function_html_select_date($params, &$smarty)
|
||||
break;
|
||||
}
|
||||
// Add the field seperator
|
||||
$html_result .= $field_separator;
|
||||
if($i != 2) {
|
||||
$html_result .= $field_separator;
|
||||
}
|
||||
}
|
||||
|
||||
print $html_result;
|
||||
|
Reference in New Issue
Block a user