]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
->getID() instead of ->id
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 1 Jan 2016 17:21:54 +0000 (18:21 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 1 Jan 2016 17:21:54 +0000 (18:21 +0100)
classes/Notice.php

index e7c305b2d9408567e1601f8b4c1d8ed031abb682..e53ce8f77bcb61caba1af87ef179fa128662856c 100644 (file)
@@ -1630,9 +1630,9 @@ class Notice extends Managed_DataObject
         try {
             $parent = $this->getParent();
             $parentauthor = $parent->getProfile();
-            $this->saveReply($parentauthor->id);
-            $replied[$parentauthor->id] = 1;
-            self::blow('reply:stream:%d', $parentauthor->id);
+            $this->saveReply($parentauthor->getID());
+            $replied[$parentauthor->getID()] = 1;
+            self::blow('reply:stream:%d', $parentauthor->getID());
         } catch (NoParentNoticeException $e) {
             // Not a reply, since it has no parent!
             $parent = null;