Commit dc9f2bad authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 387705: Single dependency loop detection not working anymore - Patch by…

Bug 387705: Single dependency loop detection not working anymore - Patch by Ronaldo Maia <romaia@async.com.br> r/a=LpSolit
parent c8ade4d6
......@@ -877,9 +877,10 @@ sub _check_dependencies {
$deps_in{$type} = \@bug_ids;
}
# And finally, check for dependency loops.
my %deps = ValidateDependencies($deps_in{dependson}, $deps_in{blocked});
my $bug_id = ref($invocant) ? $invocant->id : 0;
my %deps = ValidateDependencies($deps_in{dependson}, $deps_in{blocked}, $bug_id);
return ($deps{'dependson'}, $deps{'blocked'});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment