Actions
Bug #602
closedCGI::HtmlExtension::popup_menu calls #bytesize on array parameters
Description
=begin
After line 623
values.collect{|value|
if value.kind_of?(String)
option({ "VALUE" => value }){ value }
else
-
if value[value.bytesize - 1] == true
-
if value[value.size - 1] == true option({ "VALUE" => value[0], "SELECTED" => true }){
-
value[value.bytesize - 2]
-
value[value.size - 2] } else option({ "VALUE" => value[0] }){
-
value[value.bytesize - 1]
-
value[value.size - 1] } end end }.join
=end
Updated by ko1 (Koichi Sasada) about 16 years ago
- Assignee set to xibbar (Takeyuki FUJIOKA)
=begin
=end
Updated by funny_falcon (Yura Sokolov) about 16 years ago
=begin
File lib/cgi/html.rb
=end
Updated by yugui (Yuki Sonoda) about 16 years ago
- Due date set to 10/25/2008
- Target version set to 1.9.1 Release Candidate
=begin
=end
Updated by xibbar (Takeyuki FUJIOKA) about 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r19614.
=end
Actions
Like0
Like0Like0Like0Like0