MantisBT: master 79fc861e

Author Committer Branch Timestamp Parent
dregad dregad master 2012-08-17 04:16 master 86abb9cc
Affected Issues  0012580: Issue x not found (for bug y)
Changeset

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 0012580

mod - core/string_api.php Diff File