Fix: Use the $uid

This commit is contained in:
Michael 2021-09-14 02:00:40 +00:00
parent e3413cf959
commit d33fea1993

View File

@ -394,7 +394,7 @@ class Transmitter
$custom_fields = []; $custom_fields = [];
foreach (DI::profileField()->selectByContactId(0, 1) as $profile_field) { foreach (DI::profileField()->selectByContactId(0, $uid) as $profile_field) {
$custom_fields[] = [ $custom_fields[] = [
'type' => 'PropertyValue', 'type' => 'PropertyValue',
'name' => $profile_field->label, 'name' => $profile_field->label,