summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-08 13:10:38 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-08 13:10:38 -0400
commit2b8a0fd89bdf63dcf87ae868559b97f8d3e6eee2 (patch)
tree7c192eeff59bc71eb0ef2aefcfa14d6ba0f9333a /src/main/java
parentf9c661ef5d2a422f246b3a089bee06470ae1d431 (diff)
downloadgitblit-2b8a0fd89bdf63dcf87ae868559b97f8d3e6eee2.tar.gz
gitblit-2b8a0fd89bdf63dcf87ae868559b97f8d3e6eee2.zip
Fix ticket mail dropping bug when author does not have an address
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/gitblit/models/Mailing.java2
1 files changed, 1 insertions, 1 deletions
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) {