From df19791a8f6b028721b5e014e49445610dff28dd Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 31 Dec 2015 02:37:42 +0100 Subject: [PATCH] Wups, $notice not $stored in the old function... --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Notice.php b/classes/Notice.php index ca12340736..43ffa0833f 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -685,7 +685,7 @@ class Notice extends Managed_DataObject // Only save 'attention' and metadata stuff (URLs, tags...) stuff if // the activityverb is a POST (since stuff like repeat, favorite etc. // reasonably handle notifications themselves. - if (ActivityUtils::compareVerbs($stored->verb, array(ActivityVerb::POST))) { + if (ActivityUtils::compareVerbs($notice->verb, array(ActivityVerb::POST))) { if (isset($replies)) { $notice->saveKnownReplies($replies); } else { -- 2.39.2