From b8dd6c0b25298d2c06bc1f04063f4761727a853b Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 15 Apr 2023 23:08:42 +0000 Subject: [PATCH] Fixes warning: Undefined array key "pending" --- .../Notifications/Factory/FormattedNavNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Navigation/Notifications/Factory/FormattedNavNotification.php b/src/Navigation/Notifications/Factory/FormattedNavNotification.php index b4e48172c..0a7054b8e 100644 --- a/src/Navigation/Notifications/Factory/FormattedNavNotification.php +++ b/src/Navigation/Notifications/Factory/FormattedNavNotification.php @@ -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(