diff --git a/user.inc.php b/user.inc.php index 1bd1c08..bac64c3 100644 --- a/user.inc.php +++ b/user.inc.php @@ -255,7 +255,9 @@ function user_load($user, $uid = false) foreach($ret['types'] as $t) { /* These all pass $ret by reference, and can modify * $ret */ - $r = call_user_func("user_load_$t", &$ret); + $fun="user_load_$t"; + $r=$fun($ret); +// $r = call_user_func("user_load_$t", $ret); if($r != true) { echo "user_load_$t returned false!\n"; return false;