correct name check in ActivityObject::fromProfile()

This commit is contained in:
Evan Prodromou 2010-02-21 13:31:31 -05:00
parent 5aeed9e041
commit f83941a67b
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ class ActivityObject
$object->type = ActivityObject::PERSON;
$object->id = $profile->getUri();
$object->title = $this->getBestName();
$object->title = $profile->getBestName();
$object->link = $profile->profileurl;
return $object;