From d33fea199385799e792faaa3c130487623797435 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 14 Sep 2021 02:00:40 +0000 Subject: [PATCH] Fix: Use the $uid --- src/Protocol/ActivityPub/Transmitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 4dbcda4e7..14d4a8a5a 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -394,7 +394,7 @@ class Transmitter $custom_fields = []; - foreach (DI::profileField()->selectByContactId(0, 1) as $profile_field) { + foreach (DI::profileField()->selectByContactId(0, $uid) as $profile_field) { $custom_fields[] = [ 'type' => 'PropertyValue', 'name' => $profile_field->label,