]> git.mxchange.org Git - friendica.git/commitdiff
Fixes warning: Undefined array key "pending"
authorMichael <heluecht@pirati.ca>
Sat, 15 Apr 2023 23:08:42 +0000 (23:08 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 15 Apr 2023 23:08:42 +0000 (23:08 +0000)
src/Navigation/Notifications/Factory/FormattedNavNotification.php

index b4e48172c5d75f26a25349eeccfee0b8f52a196a..0a7054b8e71b88fff15a2ce15b47cf3cfae514ce 100644 (file)
@@ -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(