From: James Moger Date: Mon, 8 Sep 2014 17:10:38 +0000 (-0400) Subject: Fix ticket mail dropping bug when author does not have an address X-Git-Tag: v1.6.1~44^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Ftickets%2F32%2F132%2F1;p=gitblit.git Fix ticket mail dropping bug when author does not have an address --- diff --git a/src/main/java/com/gitblit/models/Mailing.java b/src/main/java/com/gitblit/models/Mailing.java index 9c0ff906..186a4241 100644 --- a/src/main/java/com/gitblit/models/Mailing.java +++ b/src/main/java/com/gitblit/models/Mailing.java @@ -61,7 +61,7 @@ public class Mailing { } public boolean hasRecipients() { - return toAddresses.size() > 0; + return (toAddresses.size() + ccAddresses.size()) > 0; } public void setRecipients(String... addrs) {