Signed-off-by: Stéphane Jacob <sj@m4x.org>
public function firstName()
{
if (!$this->hasProfile()) {
public function firstName()
{
if (!$this->hasProfile()) {
- return $this->displayName();
+ return $this->firstname;
}
return $this->profile()->firstName();
}
}
return $this->profile()->firstName();
}
public function lastName()
{
if (!$this->hasProfile()) {
public function lastName()
{
if (!$this->hasProfile()) {
+ return $this->lastname;
}
return $this->profile()->lastName();
}
}
return $this->profile()->lastName();
}