-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
After updating Mantis to 2.27.0 the above error popped up in the logs when opening "View Issue Details" page. I was able to pin it down to the subject() method in this plugin and fixed it by changing the code below from
function subject( $p_event, $p_chained_param, $p_bug_id) {
to:
function subject( $p_event, $p_chained_param, $p_bug_id = null, $bug_id = null ) { // fix the "Unknown named parameter $bug_id" error by adding $bug_id as parameter and allowing $p_bug_id to be null if(is_null($p_bug_id) && !is_null($bug_id)) { $p_bug_id = $bug_id; }
Reactions are currently unavailable