MantisBT: master c75e5d3b

Author Committer Branch Timestamp Parent
dhx dhx master 2010-11-20 00:05 master 374ee370
Affected Issues  0012545: Output XHTML strict so browsers can validate the output of MantisBT
Changeset

Fix 0012545: Make some corrections to custom field radio/checkbox output

Commit 0fea46fcda274ba9349db6091e875bb011cf11ec refactored the output of
radio and checkbox custom fields. However this refactoring introduced an
error with submitting radio fields (the name attribute should not be an
array). Additionally, currently selected values for the fields were not
being checked automatically. The check_checked() function has been
rewritten (copied from check_selected()) so they both behave the same
and can accept arrays as the first parameter.

mod - core/helper_api.php Diff File
mod - core/cfdefs/cfdef_standard.php Diff File