remove pass by reference

This commit is contained in:
james 2018-10-30 17:27:45 +00:00
parent 28070d19cc
commit 3e3db6732d

View File

@ -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);