summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rwxr-xr-xBugzilla/Bug.pm16
1 files changed, 7 insertions, 9 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 7e7478c46..df7a91553 100755
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -217,16 +217,14 @@ sub initBug {
if (@longdescs) {
$self->{'longdescs'} = \@longdescs;
}
-
- if (&::Param("usedependencies")) {
- my @depends = EmitDependList("blocked", "dependson", $bug_id);
- if ( @depends ) {
+
+ my @depends = EmitDependList("blocked", "dependson", $bug_id);
+ if (@depends) {
$self->{'dependson'} = \@depends;
- }
- my @blocks = EmitDependList("dependson", "blocked", $bug_id);
- if ( @blocks ) {
- $self->{'blocks'} = \@blocks;
- }
+ }
+ my @blocks = EmitDependList("dependson", "blocked", $bug_id);
+ if (@blocks) {
+ $self->{'blocks'} = \@blocks;
}
return $self;