]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Wups, $notice not $stored in the old function...
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 31 Dec 2015 01:37:42 +0000 (02:37 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 31 Dec 2015 01:37:42 +0000 (02:37 +0100)
classes/Notice.php

index ca123407363b7ab38e324fe6cbca3c012c006acd..43ffa0833fc01f49587d9dd3e463693924e1d73d 100644 (file)
@@ -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 {