summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-11-01 21:38:08 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-12-06 11:30:11 +0100
commit4ae87c36d03d522082ce0351194f785e4d2e39df (patch)
tree55b47800648f48fc650c5a20b167e9c752e73473
parentfd5590bb10352cd6fde868ae1cdbfae339dd51e1 (diff)
downloadbugzilla-4ae87c36d03d522082ce0351194f785e4d2e39df.tar.gz
bugzilla-4ae87c36d03d522082ce0351194f785e4d2e39df.tar.xz
Flyspray: Check if dupeOf bug exists before adding comment
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--Bugzilla/Migrate/Flyspray.pm2
1 files changed, 1 insertions, 1 deletions
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};
}
}