From: GitHub <no...@gi...> - 2012-10-18 13:56:41
|
Branch: refs/heads/master-1.2.x Home: https://github.com/mantisbt/mantisbt Commit: 145603487b70cd0c1dd3805d03fcf8217c5263b2 https://github.com/mantisbt/mantisbt/commit/145603487b70cd0c1dd3805d03fcf8217c5263b2 Author: Damien Regad <dam...@me...> Date: 2012-10-18 (Thu, 18 Oct 2012) Changed paths: M core/print_api.php Log Message: ----------- Fix #14842: Incorrect matching of versions in print_version_option_list When comparing versions to determine which ones have already been added to the select list, a loose comparison is performed, so '1' matches '1.0'. This causes issues when editing a bug having a version currently obsolete matching another, previously displayed version. In that case the obsolete version is not added to the selection list, causing data loss when the bug is saved (see issue #13096). |