MantisBT: master 1f515b3a

Author Committer Branch Timestamp Parent
dhx dhx master 2012-02-23 22:15 master 8bb88e75
Affected Issues  0007995: Confusion in product_version values due to string comparisons with == operator
 0013937: Versions and Categories from existing filter not preselected when editing it
Changeset

Fix 0013937: Filter dropdown values of [any], [none], etc not saved

Damien Regad damien.regad@merckgroup.com and Roland Becker
roland@atrol.de reported an issue whereby filter dropdowns would
always select the meta filter option of [any] by default, even if the
active filter was set to another value.

The cause is incorrect logic within both the check_checked and
check_selected functions dating back to issue 0007995 in 2007.
Documentation has been added inline to the code to clarify how these
functions work and the gotcha to do with == vs. === comparisons.

mod - core/helper_api.php Diff File