Smarty5 syntax fix

This commit is contained in:
Simon Wisselink
2022-09-14 13:09:50 +02:00
parent 80e45491e1
commit 4d316d37a9

View File

@@ -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