diff --git a/htdocs/user/list.php b/htdocs/user/list.php
index 0332ed73843..247d0d5d2bb 100644
--- a/htdocs/user/list.php
+++ b/htdocs/user/list.php
@@ -1175,18 +1175,21 @@ while ($i < $imaxinloop) {
$totalarray['nbfield']++;
}
}
+ // Phone mobile
if (!empty($arrayfields['u.user_mobile']['checked'])) {
print '
'.dol_print_phone($obj->user_mobile, $obj->country_code, 0, $obj->rowid, 'AC_TEL', ' ', 'mobile')." | \n";
if (!$i) {
$totalarray['nbfield']++;
}
}
+ // Email
if (!empty($arrayfields['u.email']['checked'])) {
print ''.dol_print_email($obj->email, $obj->rowid, $obj->fk_soc, 1, 0, 0, 1)." | \n";
if (!$i) {
$totalarray['nbfield']++;
}
}
+ // Api key
if (!empty($arrayfields['u.api_key']['checked'])) {
$api_key = dolDecrypt($obj->api_key);
print '';
@@ -1204,6 +1207,7 @@ while ($i < $imaxinloop) {
$totalarray['nbfield']++;
}
}
+ // User
if (!empty($arrayfields['u.fk_soc']['checked'])) {
print ' | ';
if ($obj->fk_soc > 0) {
@@ -1295,14 +1299,14 @@ while ($i < $imaxinloop) {
// Date last login
if (!empty($arrayfields['u.datelastlogin']['checked'])) {
- print ' | '.dol_print_date($db->jdate($obj->datelastlogin), "dayhour").' | ';
+ print ''.dol_print_date($db->jdate($obj->datelastlogin), "dayhour").' | ';
if (!$i) {
$totalarray['nbfield']++;
}
}
// Date previous login
if (!empty($arrayfields['u.datepreviouslogin']['checked'])) {
- print ''.dol_print_date($db->jdate($obj->datepreviouslogin), "dayhour").' | ';
+ print ''.dol_print_date($db->jdate($obj->datepreviouslogin), "dayhour").' | ';
if (!$i) {
$totalarray['nbfield']++;
}