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']))