diff --git a/participant.inc.php b/participant.inc.php index afd8f70..c347db5 100644 --- a/participant.inc.php +++ b/participant.inc.php @@ -317,6 +317,7 @@ function namecheckStatus($reg_id="") } function participant_status_completion_details($u){ + $regId = $u['registrations_id']; return array( 'namecheck' => namecheckStatus($regId), 'tour' => tourStatus($regId), @@ -330,7 +331,6 @@ function participant_status_completion_details($u){ } function participant_status_update(&$u){ - $regId = $u['registrations_id']; $status = participant_status_completion_details($u); $overall = 'complete'; $u['roles']['participant']['completesections'] = array();