bugfix variable out of scope

This commit is contained in:
2017-09-07 14:34:10 +10:00
parent c522f94dfa
commit 1f3040ebe5

View File

@@ -786,7 +786,7 @@ function booking_studygroups_update_form($node, &$form_state, $sid) {
//if we didn't find an existing record, add it to the list to insert
if (! $found && $person->session <> 0) {
$message = t('Found no existing study group session for user id !id (!name). Adding to list of inserts for session !session.',
array('!id' => $person->nid, '!sid' => $mapping->sid, '!session' => $person->session,
array('!id' => $person->nid, '!session' => $person->session,
'!name' => $person->booking_firstname . " " . $person->booking_lastname
));