->getID() instead of ->id

This commit is contained in:
Mikael Nordfeldth 2016-01-01 18:21:54 +01:00
parent 10973dcf69
commit ad4beb9091

View File

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