diff options
Diffstat (limited to 'extensions/BzAPI')
-rw-r--r-- | extensions/BzAPI/lib/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BzAPI/lib/Util.pm b/extensions/BzAPI/lib/Util.pm index f9d244c96..e783a1584 100644 --- a/extensions/BzAPI/lib/Util.pm +++ b/extensions/BzAPI/lib/Util.pm @@ -205,7 +205,7 @@ sub fix_bug { else { if (ref $data->{$key} eq 'ARRAY' && !@{$data->{$key}}) { # Return empty string if blocks or depends_on is empty - if ($key eq 'depends_on' || $key eq 'blocks') { + if ($method eq 'Bug.search' && ($key eq 'depends_on' || $key eq 'blocks')) { $data->{$key} = ''; } else { |