forked from Wavyzz/dolibarr
fix warning in list_print_total.tpl.php (#28233)
* fix warning in list_print_total.tpl.php * Update list.php
This commit is contained in:
@@ -2446,7 +2446,7 @@ while ($i < $imaxinloop) {
|
|||||||
$userstatic->lastname = $obj->lastname;
|
$userstatic->lastname = $obj->lastname;
|
||||||
$userstatic->firstname = $obj->firstname;
|
$userstatic->firstname = $obj->firstname;
|
||||||
$userstatic->email = $obj->user_email;
|
$userstatic->email = $obj->user_email;
|
||||||
$userstatic->statut = $obj->user_statut;
|
$userstatic->status = $obj->user_statut;
|
||||||
$userstatic->entity = $obj->entity;
|
$userstatic->entity = $obj->entity;
|
||||||
$userstatic->photo = $obj->photo;
|
$userstatic->photo = $obj->photo;
|
||||||
$userstatic->office_phone = $obj->office_phone;
|
$userstatic->office_phone = $obj->office_phone;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ if (isset($totalarray['pos'])) {
|
|||||||
while ($i < $totalarray['nbfield']) {
|
while ($i < $totalarray['nbfield']) {
|
||||||
$i++;
|
$i++;
|
||||||
if (!empty($totalarray['pos'][$i])) {
|
if (!empty($totalarray['pos'][$i])) {
|
||||||
printTotalValCell($totalarray['type'][$i], $totalarray['val'][$totalarray['pos'][$i]]);
|
printTotalValCell($totalarray['type'][$i] ?? '', $totalarray['val'][$totalarray['pos'][$i]]);
|
||||||
} else {
|
} else {
|
||||||
if ($i == 1) {
|
if ($i == 1) {
|
||||||
if (is_null($limit) || $num < $limit) {
|
if (is_null($limit) || $num < $limit) {
|
||||||
|
|||||||
Reference in New Issue
Block a user