diff --git a/includes/view/AngelTypes_view.php b/includes/view/AngelTypes_view.php
index f44bebce..ef6d1597 100644
--- a/includes/view/AngelTypes_view.php
+++ b/includes/view/AngelTypes_view.php
@@ -476,11 +476,19 @@ function AngelType_view_info(
*/
function AngelTypes_render_contact_info($angeltype)
{
- return heading(__('Contact'), 3) . description([
- __('Name') => $angeltype['contact_name'],
- __('DECT') => sprintf('%1$s', $angeltype['contact_dect']),
- __('E-Mail') => sprintf('%1$s', $angeltype['contact_email']),
- ]);
+ $info = [
+ __('Name') => [$angeltype['contact_name'], $angeltype['contact_name']],
+ __('DECT') => [sprintf('%1$s', $angeltype['contact_dect']), $angeltype['contact_dect']],
+ __('E-Mail') => [sprintf('%1$s', $angeltype['contact_email']), $angeltype['contact_email']],
+ ];
+ $contactInfo = [];
+ foreach ($info as $name => $data) {
+ if (!empty($data[1])) {
+ $contactInfo[$name] = $data[0];
+ }
+ }
+
+ return heading(__('Contact'), 3) . description($contactInfo);
}
/**