From e113273a67b02179c9f90b639b6f6a08aefd7003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Loguercio?= Date: Mon, 3 Oct 2016 17:27:11 -0500 Subject: [PATCH] Fix empty extra field data from user in shared profile --- main/social/profile.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/social/profile.php b/main/social/profile.php index 8f99cbaf15..6f2838ae14 100755 --- a/main/social/profile.php +++ b/main/social/profile.php @@ -325,7 +325,7 @@ if ($show_full_profile) { $extra_information = ''; if (is_array($extra_user_data) && count($extra_user_data) > 0) { - $extra_information_value = ''; // if there are information to show if (!empty($extra_information_value)) { + + $extra_information_value = ''; + $extra_information .= Display::panelCollapse( get_lang('ExtraInformation'), $extra_information_value,