diff --git a/libs/plugins/function.html_options.php b/libs/plugins/function.html_options.php index 69f56e80..c4156ca2 100644 --- a/libs/plugins/function.html_options.php +++ b/libs/plugins/function.html_options.php @@ -90,7 +90,7 @@ function smarty_function_html_options($params, $smarty, $template) if (!empty($name)) { $_html_result = '' . "\n"; - } + } return $_html_result; } @@ -98,7 +98,7 @@ function smarty_function_html_options($params, $smarty, $template) function smarty_function_html_options_optoutput($key, $value, $selected) { if (!is_array($value)) { - $_html_result = '' . "\n"; foreach ($values as $key => $value) { $optgroup_html .= smarty_function_html_options_optoutput($key, $value, $selected); }