]> source.dussan.org Git - gitblit.git/commitdiff
Fix ticket mail dropping bug when author does not have an address 32/132/1
authorJames Moger <james.moger@gitblit.com>
Mon, 8 Sep 2014 17:10:38 +0000 (13:10 -0400)
committerJames Moger <james.moger@gitblit.com>
Mon, 8 Sep 2014 17:10:38 +0000 (13:10 -0400)
src/main/java/com/gitblit/models/Mailing.java

index 9c0ff9063240c912b1575b46d6e8118fb5296e3d..186a4241d08cc2a0585a7a59e45181083f2d3a4b 100644 (file)
@@ -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) {