Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

html option bug and fix

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
jpbl
Smarty n00b


Joined: 15 May 2003
Posts: 1

PostPosted: Thu May 15, 2003 8:47 pm    Post subject: html option bug and fix Reply with quote

on the line 54 of functions.html_options.php we can read:
$optgroup_html = '<optgroup label="' . htmlspecialchars($value) . '">' . "\n";

but this is a bug that cause a optgroup to not have his label correctly displayed. the line must be:
$optgroup_html = '<optgroup label="' . htmlspecialchars($key) . '">' . "\n";
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP