From 2c31e0989d623b89d29450a9c2c5890b234ef3ed Mon Sep 17 00:00:00 2001
From: Anthony Berton <34568357+bb2a@users.noreply.github.com>
Date: Thu, 14 Jan 2021 08:25:57 +0100
Subject: [PATCH] Update list.php
---
htdocs/user/list.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/htdocs/user/list.php b/htdocs/user/list.php
index 4c2380d4ec5..c8951176354 100644
--- a/htdocs/user/list.php
+++ b/htdocs/user/list.php
@@ -773,17 +773,17 @@ while ($i < ($limit ? min($num, $limit) : $num))
}
if (!empty($arrayfields['u.office_phone']['checked']))
{
- print '
'.$obj->office_phone.' | ';
+ print "".dol_print_phone($obj->office_phone, $obj->country_code, 0, $obj->rowid, 'AC_TEL')." | \n";
if (!$i) $totalarray['nbfield']++;
}
if (!empty($arrayfields['u.user_mobile']['checked']))
{
- print ''.$obj->user_mobile.' | ';
+ print "".dol_print_phone($obj->user_mobile, $obj->country_code, 0, $obj->rowid, 'AC_TEL')." | \n";
if (!$i) $totalarray['nbfield']++;
}
if (!empty($arrayfields['u.email']['checked']))
{
- print ''.$obj->email.' | ';
+ print ''.dol_print_email($obj->email, $obj->rowid, $obj->socid, 'AC_EMAIL', 0, 0, 1)." | \n";
if (!$i) $totalarray['nbfield']++;
}
if (!empty($arrayfields['u.api_key']['checked']))