Merge pull request #13004 from annando/warning
Fixes warning: Undefined array key "pending"
This commit is contained in:
commit
4cb1a2de2c
|
@ -128,7 +128,7 @@ class FormattedNavNotification extends BaseFactory
|
|||
}
|
||||
|
||||
if (!isset(self::$contacts[$notification->actorId])) {
|
||||
self::$contacts[$notification->actorId] = Contact::getById($notification->actorId, ['name', 'url']);
|
||||
self::$contacts[$notification->actorId] = Contact::getById($notification->actorId, ['name', 'url', 'pending']);
|
||||
}
|
||||
|
||||
return $this->createFromParams(
|
||||
|
|
Loading…
Reference in New Issue
Block a user