From 31d53ede91a3794a9e7cca9774cdc21e3531a49e Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 14 Jul 2014 23:37:28 +0200 Subject: [PATCH] Bad variable reference in Fave class --- plugins/Favorite/classes/Fave.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Favorite/classes/Fave.php b/plugins/Favorite/classes/Fave.php index f4e8c353f1..3703c844da 100644 --- a/plugins/Favorite/classes/Fave.php +++ b/plugins/Favorite/classes/Fave.php @@ -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; } -- 2.39.5