From 8c2d87b3b8e95ff2d764342563f2706ec6dce5b9 Mon Sep 17 00:00:00 2001 From: Diogo Cordeiro Date: Wed, 24 Jun 2020 21:30:43 +0100 Subject: [PATCH] [ExtendedProfile] Fix XML type bug --- plugins/ExtendedProfile/lib/extendedprofilewidget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ExtendedProfile/lib/extendedprofilewidget.php b/plugins/ExtendedProfile/lib/extendedprofilewidget.php index 0cf1794606..17254951b2 100644 --- a/plugins/ExtendedProfile/lib/extendedprofilewidget.php +++ b/plugins/ExtendedProfile/lib/extendedprofilewidget.php @@ -179,7 +179,7 @@ class ExtendedProfileWidget extends Form protected function showIm($name, $field) { $this->out->elementStart('div', array('class' => 'im-display')); - $this->out->text($field['value']); + $this->out->text($field['value'] ?? ''); if (!empty($field['rel'])) { // TRANS: Value between parentheses (phone number, website, or IM address). $outtext = sprintf(_m('(%s)'), $field['rel']);