From 1f3040ebe5b2badddba06a4eda03169b7d1de403 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 7 Sep 2017 14:34:10 +1000 Subject: [PATCH] bugfix variable out of scope --- booking.studygroups.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booking.studygroups.inc b/booking.studygroups.inc index 0915fe5..facf43c 100644 --- a/booking.studygroups.inc +++ b/booking.studygroups.inc @@ -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 ));