[mantisbt-commits] [mantisbt/mantisbt] 79fc86: Bugnote '~'
processing may produce error if bug do...
From: GitHub <no...@gi...> - 2012-08-17 15:25:08
|
Branch: refs/heads/master Home: https://github.com/mantisbt/mantisbt Commit: 79fc861efd9522d54769d80b5093aa325d28fa03 https://github.com/mantisbt/mantisbt/commit/79fc861efd9522d54769d80b5093aa325d28fa03 Author: Damien Regad <dam...@me...> Date: 2012-08-17 (Fri, 17 Aug 2012) Changed paths: M core/string_api.php Log Message: ----------- Bugnote '~' processing may produce error if bug does not exist This error case is a bit far-fetched, and should normally not occur unless there is some data corruption. If referencing an existing bugnote whose parent bug is not in the database, the callback function cannot retrieve the project_id, so error 403 is triggered. The callback functions have also been reformatted for better readability Fixes #12580 |