From cfc4eece382c558db9f1f730372aed09ff0b27fb Mon Sep 17 00:00:00 2001 From: Diogo Cordeiro Date: Thu, 2 Aug 2018 07:36:28 +0100 Subject: [PATCH] fix issues --- ActivityPubPlugin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ActivityPubPlugin.php b/ActivityPubPlugin.php index 6e517d7..a6cef51 100755 --- a/ActivityPubPlugin.php +++ b/ActivityPubPlugin.php @@ -140,10 +140,10 @@ class ActivityPubPlugin extends Plugin try { return Activitypub_notice::create_notice( ActivityPub_explorer::get_profile_from_url($res['attributedTo']), - $res->id, - $res->url, - $res->content, - $res->cc, + $res['id'], + $res['url'], + $res['content'], + $res['cc'], $settings ); } catch (Exception $e) {