summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-08 13:14:01 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-08 13:14:01 -0400
commit696cb684a1ba095c195cdfc750728be8e94a7add (patch)
tree1223b5ae53032f1d885b135674ece928cfcf2d27 /src/main/java/com/gitblit
parentb2331a89980a43a6be95cb72364c6bdd33caf98a (diff)
parent2b8a0fd89bdf63dcf87ae868559b97f8d3e6eee2 (diff)
downloadgitblit-696cb684a1ba095c195cdfc750728be8e94a7add.tar.gz
gitblit-696cb684a1ba095c195cdfc750728be8e94a7add.zip
Merge branch 'ticket/132' into develop
Diffstat (limited to 'src/main/java/com/gitblit')
-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) {