Oops - needed to move a line with some other modified code.

This commit is contained in:
jacob 2011-02-28 21:54:21 +00:00
parent a773a76ed9
commit 143b255375

View File

@ -317,6 +317,7 @@ function namecheckStatus($reg_id="")
} }
function participant_status_completion_details($u){ function participant_status_completion_details($u){
$regId = $u['registrations_id'];
return array( return array(
'namecheck' => namecheckStatus($regId), 'namecheck' => namecheckStatus($regId),
'tour' => tourStatus($regId), 'tour' => tourStatus($regId),
@ -330,7 +331,6 @@ function participant_status_completion_details($u){
} }
function participant_status_update(&$u){ function participant_status_update(&$u){
$regId = $u['registrations_id'];
$status = participant_status_completion_details($u); $status = participant_status_completion_details($u);
$overall = 'complete'; $overall = 'complete';
$u['roles']['participant']['completesections'] = array(); $u['roles']['participant']['completesections'] = array();