From ad4beb9091c69886547a7db07a377ee4b3e51e33 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 1 Jan 2016 18:21:54 +0100 Subject: [PATCH] ->getID() instead of ->id --- classes/Notice.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/Notice.php b/classes/Notice.php index e7c305b2d9..e53ce8f77b 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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; -- 2.39.5