From: Michael Date: Tue, 14 Sep 2021 02:00:40 +0000 (+0000) Subject: Fix: Use the $uid X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d33fea199385799e792faaa3c130487623797435;p=friendica.git Fix: Use the $uid --- diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 4dbcda4e71..14d4a8a5a1 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,