fix php8 warning
This commit is contained in:
parent
f9ca280908
commit
9559c602cd
@ -67,7 +67,7 @@ if (!empty($extrafieldsobjectkey) && !empty($extrafields->attributes[$extrafield
|
|||||||
// we keep position for the first line
|
// we keep position for the first line
|
||||||
$totalarray['totalizable'][$key]['pos'] = $totalarray['nbfield'];
|
$totalarray['totalizable'][$key]['pos'] = $totalarray['nbfield'];
|
||||||
}
|
}
|
||||||
if (is_numeric($obj->$tmpkey)) {
|
if (isset($obj->$tmpkey) && is_numeric($obj->$tmpkey)) {
|
||||||
if (!isset($totalarray['totalizable'][$key]['total'])) {
|
if (!isset($totalarray['totalizable'][$key]['total'])) {
|
||||||
$totalarray['totalizable'][$key]['total'] = 0;
|
$totalarray['totalizable'][$key]['total'] = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user