This commit is contained in:
2017-09-07 16:09:14 +10:00
parent 54ad2404be
commit 78ebc3ac27
2 changed files with 5 additions and 5 deletions

View File

@@ -1322,7 +1322,7 @@ function _booking_details_email_summary($node) {
$earlyaccess_query = db_query("SELECT booking_earlyaccess_code FROM {booking_earlyaccess_codes} where cid = :code",
array(':code' => $node->booking_earlyaccess_code_id))
->fetchObject();
$rows[] = array(t('Early Access Code:'), t('!code', array('!code' => $earlyaccess_query->booking_earlyaccess_code)));
$rows[] = t('Early Access Code: !code', array('!code' => $earlyaccess_query->booking_earlyaccess_code));
}
/*
@@ -1349,13 +1349,13 @@ function _booking_details_email_summary($node) {
}
if (variable_get('booking_enable_songchoice', 0) == 1) {
$rows[] = array(t('Song Choice:'), t('!song', array('!song' => $node->booking_song_choice)));
$rows[] = t('Song Choice: !song', array('!song' => $node->booking_song_choice));
}
if (variable_get('booking_enable_freestyle', 0) == 1) {
$rows[] = array(t('Freestyle:'), t('!song', array('!song' => $node->booking_freestyle_text)));
$rows[] = t('Freestyle: !text', array('!text' => $node->booking_freestyle_text));
}
if (variable_get('booking_enable_tshirts', 0) == 1) {
$rows[] = array(t('Hoodie Size:'), $node->booking_shirt_size);
$rows[] = t('Hoodie Size: !size', array('!size' => $node->booking_shirt_size));
}
$rows[] = t('Emergency Contact Name: !contact', array('!contact' => $node->booking_guardian_name));