From 4d316d37a9403f0005551503d96b459f57c95996 Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Wed, 14 Sep 2022 13:09:50 +0200 Subject: [PATCH] Smarty5 syntax fix --- libs/plugins/function.html_select_date.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/plugins/function.html_select_date.php b/libs/plugins/function.html_select_date.php index 1794b346..0791f1a3 100644 --- a/libs/plugins/function.html_select_date.php +++ b/libs/plugins/function.html_select_date.php @@ -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