add some variable defaults

This commit is contained in:
Nathan Coad
2018-06-17 04:45:11 +10:00
parent 181645ecfb
commit dee1438cf6

View File

@@ -1637,7 +1637,8 @@ function _booking_studygroup_email_summary($node) {
'studygroup-role' => _booking_studygroup_role_lookup($node->$roleid), 'studygroup-role' => _booking_studygroup_role_lookup($node->$roleid),
); );
$li_text = variable_get('booking_studygroup_summary_li_text', ''); $li_text = variable_get('booking_studygroup_summary_li_text',
'You are a <b>[meta-booking:studygroup-role]</b> for group <b>[meta-booking:studygroup-descrip]</b>, which will occur on [meta-booking:studygroup-weekday].<br /><b>[meta-booking:studygroup-explan]</b>');
$rows[] = token_replace($li_text, $tokens); $rows[] = token_replace($li_text, $tokens);
/* /*
// Add some boldness if we're using html email // Add some boldness if we're using html email