From 18b939331e220e01945e0821d8d8d16995a2e9be Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Wed, 24 Jun 2009 16:27:42 +0000 Subject: [PATCH] - fixed smarty_function_html_options call in plugin function.html_select_date.php --- change_log.txt | 3 +++ libs/plugins/function.html_select_date.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/change_log.txt b/change_log.txt index c1dca56c..6f56f767 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +06/24/2009 +- fixed smarty_function_html_options call in plugin function.html_select_date.php + 06/22/2009 - fix on \n and spaces inside smarty tags - removed request_use_auto_globals propert as it is no longer needed because Smarty 3 will always run under PHP 5 diff --git a/libs/plugins/function.html_select_date.php b/libs/plugins/function.html_select_date.php index 4e8acb25..e1b856c8 100644 --- a/libs/plugins/function.html_select_date.php +++ b/libs/plugins/function.html_select_date.php @@ -252,7 +252,7 @@ function smarty_function_html_select_date($params, $smarty, $template) 'values' => $day_values, 'selected' => $time[2], 'print_result' => false), - $smarty); + $smarty $template); $day_result .= ''; } @@ -299,7 +299,7 @@ function smarty_function_html_select_date($params, $smarty, $template) 'values' => $yearvals, 'selected' => $time[0], 'print_result' => false), - $smarty); + $smarty, $template); $year_result .= ''; } }