Update list.php

This commit is contained in:
Laurent Destailleur 2021-09-02 19:20:21 +02:00 committed by GitHub
parent cc86ab8c5e
commit 67cd41fe17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1513,7 +1513,7 @@ while ($i < min($num, $limit)) {
}
print empty($typenArray[$obj->typent_code]) ? '' : $typenArray[$obj->typent_code];
print '</td>';
if (empty($i)) {
if (!$i) {
$totalarray['nbfield']++;
}
}
@ -1532,19 +1532,19 @@ while ($i < min($num, $limit)) {
}
print $staffArray[$obj->staff_code];
print '</td>';
if (empty($i)) {
if (!$i) {
$totalarray['nbfield']++;
}
}
if (!empty($arrayfields['s.email']['checked'])) {
print '<td class="tdoverflowmax150">'.dol_print_email($obj->email, $obj->rowid, $obj->socid, 'AC_EMAIL', 0, 0, 1)."</td>\n";
if (empty($i)) {
if (!$i) {
$totalarray['nbfield']++;
}
}
if (!empty($arrayfields['s.phone']['checked'])) {
print '<td class="nowraponall">'.dol_print_phone($obj->phone, $obj->country_code, 0, $obj->rowid, 'AC_TEL', ' ', 'phone')."</td>\n";
if (empty($i)) {
if (!$i) {
$totalarray['nbfield']++;
}
}