{
require_once 'name.func.inc.php';
- set_profile_display($this->display_names, $this->profile->id());
+ set_profile_display($this->display_names, $this->profile);
if (!is_null($this->profileOwner)) {
set_alias_names($this->sn_new, $this->sn_old, $this->profile->id(),
$this->profileOwner->id(), true, $this->new_alias);
// Update the local User object, to pick up the new bestalias.
- $this->profileOwner = User::getSilent($this->profileOwner->id());
+ $this->profileOwner = User::getSilentWithUID($this->profileOwner->id());
}
return true;