mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 09:54:27 +02:00
Smarty5 syntax fix
This commit is contained in:
@@ -219,7 +219,7 @@ function smarty_function_html_select_date($params, Smarty_Internal_Template $tem
|
||||
)
|
||||
);
|
||||
$time = smarty_make_timestamp($time);
|
||||
[$_year, $_month, $_day] = explode('-', date('Y-m-d', $time));
|
||||
list($_year, $_month, $_day) = explode('-', date('Y-m-d', $time));
|
||||
}
|
||||
|
||||
// make syntax "+N" or "-N" work with $start_year and $end_year
|
||||
|
Reference in New Issue
Block a user