Re: [SMARTY-DEV] Bug with {html_options}
| From: | messju mohr | Date: | Wed, 19 Mar 2003 11:20:25 +0000 |
| Subject: | Re: [SMARTY-DEV] Bug with {html_options} | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-991@lists.php.net to get a copy of this message | ||
On Tue, Mar 18, 2003 at 08:29:46PM +0100, Nichlas Löfdahl wrote:
> Greetings!
>
> There's a bug with {html_options} and the optgroup-support.
>
> The following patch fixes it.
>
> RCS file: /repository/smarty/libs/plugins/function.html_options.php,v
> retrieving revision 1.14
> diff -r1.14 function.html_options.php
> 92c92
> < $optgroup_html = '<optgroup label="' .
> smarty_function_escape_special_chars($value) . '">' . "\n";
> ---
> > $optgroup_html = '<optgroup label="' .
> > smarty_function_escape_special_chars($key) . '">' . "\n";
um, did i already mention i fixed this in cvs?
greetings
messju
> /Nichlas