summaryrefslogtreecommitdiff
path: root/src/lib/kdm_with_metadata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/kdm_with_metadata.cc')
-rw-r--r--src/lib/kdm_with_metadata.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/kdm_with_metadata.cc b/src/lib/kdm_with_metadata.cc
index 716d29d9c..857fdca2c 100644
--- a/src/lib/kdm_with_metadata.cc
+++ b/src/lib/kdm_with_metadata.cc
@@ -225,6 +225,7 @@ send_emails (
boost::algorithm::replace_all (target, "$START_TIME", i.front()->get('b').get_value_or(""));
boost::algorithm::replace_all (target, "$END_TIME", i.front()->get('e').get_value_or(""));
boost::algorithm::replace_all (target, "$CINEMA_NAME", i.front()->get('c').get_value_or(""));
+ boost::algorithm::replace_all (target, "$CINEMA_SHORT_NAME", i.front()->get('c').get_value_or("").substr(0, 14));
return target;
};