2
0
forked from Wavyzz/dolibarr

Merge pull request #20959 from Hystepik/develop#5

Fix : php 8.0 warnings
This commit is contained in:
Laurent Destailleur
2022-05-21 19:00:23 +02:00
committed by GitHub
5 changed files with 20 additions and 17 deletions

View File

@@ -8819,7 +8819,7 @@ abstract class CommonObject
}
}
} else {
$this->{$field} = $obj->{$field};
$this->{$field} = !empty($obj->{$field}) ? $obj->{$field} : null;
}
}