diff --git a/user_page.inc.php b/user_page.inc.php index 0819077..907fd00 100644 --- a/user_page.inc.php +++ b/user_page.inc.php @@ -43,7 +43,26 @@ function user_page_summary_item($name, $link, $status_function, $args=array()) echo ""; echo ""; //check to see if its complete - $status=call_user_func_array($status_function, $args); + switch($status_function) { + case 'user_personal_info_status': + $status = user_personal_info_status(&$args[0]); + break; + case 'judge_status_other': + $status = judge_status_other(&$args[0]); + break; + case 'judge_status_expertise': + $status = judge_status_expertise(&$args[0]); + break; + case 'judge_status_availability': + $status = judge_status_availability(&$args[0]); + break; + case 'judge_status_special_awards': + $status = judge_status_special_awards(&$args[0]); + break; + default: + $status=call_user_func_array($status_function, $args); + break; + } echo outputStatus($status); echo ""; if($status != 'complete') {