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 ++; }