Skip to content
Permalink
Browse files

Check for bug_resolved_status_threshold of right project

Fixes #24882
  • Loading branch information...
atrol committed Oct 28, 2018
1 parent 0cf461c commit cb68ddd77d665753c3beebf24c87e71ed3b725f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/relationship_api.php
@@ -705,7 +705,7 @@ function relationship_can_resolve_bug( $p_bug_id ) {
if( $t_relationship->type == BUG_DEPENDANT ) {
$t_status = bug_get_field( $t_relationship->dest_bug_id, 'status' );
if( $t_status < config_get( 'bug_resolved_status_threshold' ) ) {
if( $t_status < config_get( 'bug_resolved_status_threshold', null, null, $t_relationship->dest_project_id ) ) {
# the bug is NOT marked as resolved/closed
return false;
}

0 comments on commit cb68ddd

Please sign in to comment.
You can’t perform that action at this time.