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

View File

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