projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aedd775
)
Don't try to send emails to cinemas with no addresses (#1489).
author
Carl Hetherington
<cth@carlh.net>
Fri, 15 Mar 2019 12:15:59 +0000
(12:15 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 15 Mar 2019 12:15:59 +0000
(12:15 +0000)
src/lib/cinema_kdms.cc
patch
|
blob
|
history
diff --git
a/src/lib/cinema_kdms.cc
b/src/lib/cinema_kdms.cc
index f5d9aef4172705f599680281f6e2c5f98ee32d93..2e1d03b404bc5accc45d35f8ee71e0d487ab4738 100644
(file)
--- a/
src/lib/cinema_kdms.cc
+++ b/
src/lib/cinema_kdms.cc
@@
-206,6
+206,10
@@
CinemaKDMs::email (
BOOST_FOREACH (CinemaKDMs const & i, cinema_kdms) {
+ if (i.cinema->emails.empty()) {
+ continue;
+ }
+
name_values['c'] = i.cinema->name;
boost::filesystem::path zip_file = boost::filesystem::temp_directory_path() / boost::filesystem::unique_path();