Actions
Bug #443
closed[PATCH] CGI#checkbox_group raises a TypeError when passing false as checked value
Description
=begin
c = CGI.new("html4")
c.checkbox_group("test", ["bar", "label for bar", false])
=> TypeError: can't convert false into String
After applying the patch:
c.checkbox_group("test", ["bar", "label for bar", false])
=> "<INPUT NAME="test" TYPE="checkbox" VALUE="bar">label for bar"
=end
Files
Actions
Like0
Like0Like0