We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 31d53ede authored by mattl's avatar mattl

Bad variable reference in Fave class

parent eb955fe6
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment