]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Use the $uid
authorMichael <heluecht@pirati.ca>
Tue, 14 Sep 2021 02:00:40 +0000 (02:00 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 14 Sep 2021 02:00:40 +0000 (02:00 +0000)
src/Protocol/ActivityPub/Transmitter.php

index 4dbcda4e7108e583b607d86f0df44323d9cbbeba..14d4a8a5a1dd86e362f90628dc078b5be454ee3d 100644 (file)
@@ -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,