forked from science-ation/science-ation
remove pass by reference
This commit is contained in:
parent
28070d19cc
commit
3e3db6732d
@ -45,19 +45,19 @@ function user_page_summary_item($name, $link, $status_function, $args=array())
|
||||
//check to see if its complete
|
||||
switch($status_function) {
|
||||
case 'user_personal_info_status':
|
||||
$status = user_personal_info_status(&$args[0]);
|
||||
$status = user_personal_info_status($args[0]);
|
||||
break;
|
||||
case 'judge_status_other':
|
||||
$status = judge_status_other(&$args[0]);
|
||||
$status = judge_status_other($args[0]);
|
||||
break;
|
||||
case 'judge_status_expertise':
|
||||
$status = judge_status_expertise(&$args[0]);
|
||||
$status = judge_status_expertise($args[0]);
|
||||
break;
|
||||
case 'judge_status_availability':
|
||||
$status = judge_status_availability(&$args[0]);
|
||||
$status = judge_status_availability($args[0]);
|
||||
break;
|
||||
case 'judge_status_special_awards':
|
||||
$status = judge_status_special_awards(&$args[0]);
|
||||
$status = judge_status_special_awards($args[0]);
|
||||
break;
|
||||
default:
|
||||
$status=call_user_func_array($status_function, $args);
|
||||
|
Loading…
x
Reference in New Issue
Block a user