forked from GNUsocial/gnu-social
->getID() instead of ->id
This commit is contained in:
parent
10973dcf69
commit
ad4beb9091
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user