mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
fix php8 warning
This commit is contained in:
@@ -67,7 +67,7 @@ if (!empty($extrafieldsobjectkey) && !empty($extrafields->attributes[$extrafield
|
||||
// we keep position for the first line
|
||||
$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'])) {
|
||||
$totalarray['totalizable'][$key]['total'] = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user