summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-27 20:27:40 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-27 20:27:40 +0100
commitc0d2b454ea1e8c9b047907343c902d72101ef6dd (patch)
tree0c521db41199df003584d6eaee568aa01f6ec850 /src/lib
parente02d76fcb78542f487038982bfcc9bb5a935b94e (diff)
Fix KDM email start/end time substitution.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cinema_kdms.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/cinema_kdms.cc b/src/lib/cinema_kdms.cc
index 6a0349b31..e82a987e8 100644
--- a/src/lib/cinema_kdms.cc
+++ b/src/lib/cinema_kdms.cc
@@ -164,14 +164,14 @@ CinemaKDMs::email (
string subject = config->kdm_subject();
boost::algorithm::replace_all (subject, "$CPL_NAME", cpl_name);
- boost::algorithm::replace_all (subject, "$START_TIME", name_values['f']);
- boost::algorithm::replace_all (subject, "$END_TIME", name_values['t']);
+ boost::algorithm::replace_all (subject, "$START_TIME", name_values['b']);
+ boost::algorithm::replace_all (subject, "$END_TIME", name_values['e']);
boost::algorithm::replace_all (subject, "$CINEMA_NAME", i.cinema->name);
string body = config->kdm_email().c_str();
boost::algorithm::replace_all (body, "$CPL_NAME", cpl_name);
- boost::algorithm::replace_all (body, "$START_TIME", name_values['f']);
- boost::algorithm::replace_all (body, "$END_TIME", name_values['t']);
+ boost::algorithm::replace_all (body, "$START_TIME", name_values['b']);
+ boost::algorithm::replace_all (body, "$END_TIME", name_values['e']);
boost::algorithm::replace_all (body, "$CINEMA_NAME", i.cinema->name);
string screens;