This commit is contained in:
Nathan Coad
2016-06-08 12:06:40 +10:00
parent e3030316d6
commit 12f75f8445

View File

@@ -130,7 +130,7 @@ function booking_studygroups_leadhelp_view_summary() {
//go through each of the studygroups and check if the person belongs to the group //go through each of the studygroups and check if the person belongs to the group
foreach ($group_mapping as $group) { foreach ($group_mapping as $group) {
$role = $group->booking_studygroup_role; $role = $group->booking_studygroup_role;
if ($group->booking_node_id == $data->nid && $role > 0) { if ($group->booking_node_id == $person->nid && $role > 0) {
$text = _booking_studygroup_role_lookup($role); $text = _booking_studygroup_role_lookup($role);
$newline[] .= "<b>" . $text . "</b> for session #" . $group->booking_session_id; $newline[] .= "<b>" . $text . "</b> for session #" . $group->booking_session_id;
} }