MantisBT: master ce3608b7

Author Committer Branch Timestamp Parent
cproensa cproensa master 2016-08-01 13:55 master-1.3.x de31cb6b
Affected Issues  0021579: Error when limit_reporters and complex report_bug_threshold
Changeset

Fix comparing threshold as an integer

report_bug_threshold may be an integer or an array, but a check to
see if an access level is "greater than" its value, was assuming
that this threshold was an integer value.

A new function is created to get an integer representation of a
threshold, as the minimum integer value defined in the threshold.

Fixes: 0021579

mod - bug_update_page.php Diff File
mod - core/access_api.php Diff File
mod - core/filter_api.php Diff File