From 49f5e54a8bf067a3ad253dd4597d5236427f3b9c Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Fri, 25 Oct 2019 18:10:04 +0200 Subject: [PATCH] Update user.class.php --- htdocs/user/class/user.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index 44485d0c1f1..549309dddfb 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -2323,7 +2323,7 @@ class User extends CommonObject if (! empty($this->login)) $label.= '
' . $langs->trans('Login') . ': ' . $this->login; $label.= '
' . $langs->trans("Email").': '.$this->email; - $label.= '
' . $langs->trans("Phone").': '.$this->phone; + if (! empty($this->phone)) $label.= '
' . $langs->trans("Phone").': '.$this->phone; if (! empty($this->admin)) $label.= '
' . $langs->trans("Administrator").': '.yn($this->admin); if (! empty($this->socid) ) // Add thirdparty for external users