Merge pull request #13004 from annando/warning

Fixes warning: Undefined array key "pending"
This commit is contained in:
Hypolite Petovan 2023-04-15 19:21:46 -04:00 committed by GitHub
commit 4cb1a2de2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(