From 4ae87c36d03d522082ce0351194f785e4d2e39df Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 1 Nov 2018 21:38:08 +0100 Subject: Flyspray: Check if dupeOf bug exists before adding comment Signed-off-by: Florian Pritz --- Bugzilla/Migrate/Flyspray.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Migrate') diff --git a/Bugzilla/Migrate/Flyspray.pm b/Bugzilla/Migrate/Flyspray.pm index ebcd9663b..8e75b6855 100644 --- a/Bugzilla/Migrate/Flyspray.pm +++ b/Bugzilla/Migrate/Flyspray.pm @@ -650,7 +650,7 @@ sub after_insert { who => $entry->{who}, bug_when => $entry->{bug_when}, }] - ); + ) unless defined $dupeOf_bug->{error}; } } -- cgit v1.2.3-24-g4f1b