From 65adefe1701d78742fd30a760b78fcd4c4b4fa31 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 13 Oct 2015 23:18:13 +0200 Subject: [PATCH] Wrong variable names in SharePlugin --- plugins/Share/SharePlugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Share/SharePlugin.php b/plugins/Share/SharePlugin.php index 70e1395792..1e6f93dfa1 100644 --- a/plugins/Share/SharePlugin.php +++ b/plugins/Share/SharePlugin.php @@ -170,14 +170,14 @@ class SharePlugin extends ActivityVerbHandlerPlugin $act->objects[] = $target->asActivity($scoped); } - public function activityObjectFromNotice(Notice $notice) + public function activityObjectFromNotice(Notice $stored) { // Repeat is a little bit special. As it's an activity, our // ActivityObject is instead turned into an Activity $object = new Activity(); $object->verb = ActivityVerb::SHARE; - $object->content = $notice->rendered; - $this->extendActivity($stored, $act); + $object->content = $stored->rendered; + $this->extendActivity($stored, $object); return $object; } -- 2.39.5