Merge pull request #13004 from annando/warning
Fixes warning: Undefined array key "pending"
This commit is contained in:
commit
4cb1a2de2c
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class FormattedNavNotification extends BaseFactory
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset(self::$contacts[$notification->actorId])) {
|
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(
|
return $this->createFromParams(
|
||||||
|
|
Loading…
Reference in a new issue