quote around options in Add page
Bug #352368 reported by
Xavier Brochard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Woda |
Fix Released
|
Medium
|
Malcolm Fitzgerald | ||
4.610 |
Fix Released
|
Medium
|
Malcolm Fitzgerald |
Bug Description
There is quotes around checkbox and values or radio and values in OPTION fields.
May be a typo in Malcolm version.
affect cgiAdd
Woda from mf branch, perl 5.10
Related branches
lp:~malcolm-notyourhomework/woda/mf
(Merged)
Changed in woda: | |
importance: | Undecided → Medium |
milestone: | none → merge-mf-and-xavier |
Changed in woda: | |
status: | New → Fix Released |
assignee: | nobody → malcolm-notyourhomework |
To post a comment you must log in.
look at wbFormFieldItems for this code:
if ($default =~ /\n$reo\n/ ) {
push (@x,qq(<input type="CHECKBOX" name="$field" value="$o" CHECKED $onClick>$t\n"));
} else {
push (@x,qq(<input type="CHECKBOX" name="$field" value="$o" $onClick>$t\n"));
}
should be
if ($default =~ /\n$reo\n/ ) {
push (@x,qq(<input type="CHECKBOX" name="$field" value="$o" CHECKED $onClick>$t\n));
} else {
push (@x,qq(<input type="CHECKBOX" name="$field" value="$o" $onClick>$t\n));
}