summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {