From 4e8602585e76a3b855af45d7de438cc618a85b8c Mon Sep 17 00:00:00 2001 From: "monte.ohrt" Date: Mon, 12 Apr 2010 19:04:02 +0000 Subject: [PATCH] remove label from option tag (unnecessary):wq --- libs/plugins/function.html_options.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }