From 3c26adb493b63a957f7d1102b949cdc346c59568 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Mon, 25 Jan 2016 16:16:36 +0900 Subject: [PATCH] Smarty 3.1 fix for options html --- www/smarty-3.1.27/plugins/function.html_options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/smarty-3.1.27/plugins/function.html_options.php b/www/smarty-3.1.27/plugins/function.html_options.php index 42d774c1..206bf3ca 100644 --- a/www/smarty-3.1.27/plugins/function.html_options.php +++ b/www/smarty-3.1.27/plugins/function.html_options.php @@ -183,7 +183,7 @@ function smarty_function_html_options_optoutput($key, $value, $selected, $id, $c $idx ++; } else { $_idx = 0; - $_html_result = smarty_function_html_options_optgroup($key, $value, $selected, !empty($id) ? ($id . '-' . $idx) : null, $class, $_idx); + $_html_result = smarty_function_html_options_optgroup($key, $value, $selected, !empty($id) ? ($id . '-' . $idx) : null, $class, $label, $_idx); $idx ++; }