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