Bad variable reference in Fave class
This commit is contained in:
parent
eb955fe629
commit
31d53ede91
@ -286,7 +286,7 @@ class Fave extends Managed_DataObject
|
||||
$actobj->objects = array(clone($actobj->target));
|
||||
$actobj->verb = ActivityVerb::FAVORITE;
|
||||
$actobj->title = ActivityUtils::verbToTitle($actobj->verb);
|
||||
$actobj->content = $target->rendered ?: $target->content;
|
||||
$actobj->content = $this->getTarget()->rendered ?: $this->getTarget()->content;
|
||||
return $actobj;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user