Skip to content

Commit

Permalink
Smarty5 syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskid committed Sep 14, 2022
1 parent 80e4549 commit 4d316d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/plugins/function.html_select_date.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d316d3

Please sign in to comment.