diff --git a/includes/view/AngelTypes_view.php b/includes/view/AngelTypes_view.php index 5750df13..8fe3b86a 100644 --- a/includes/view/AngelTypes_view.php +++ b/includes/view/AngelTypes_view.php @@ -305,7 +305,8 @@ function AngelType_view_members(AngelType $angeltype, $members, $admin_user_ange foreach ($members as $member) { $member->name = User_Nick_render($member) . User_Pronoun_render($member); if (config('enable_dect')) { - $member['dect'] = htmlspecialchars((string) $member->contact->dect); + $member['dect'] = + sprintf('%1$s', htmlspecialchars($member->contact->dect)); } if (config('driving_license_enabled') && $angeltype->requires_driver_license) { $drive_confirmed = $member->license->drive_confirmed;