Merge pull request #23729 from grandoc/new_branc_30_01_2023
fix : Warning: Undefined property: BOM:: in /home/httpd/vhosts/aflac.…
This commit is contained in:
commit
11fbfd5824
@ -443,7 +443,7 @@ abstract class CommonDocGenerator
|
||||
}
|
||||
}
|
||||
|
||||
$date = ($object->element == 'contrat' ? $object->date_contrat : $object->date);
|
||||
$date = (isset($object->element) && $object->element == 'contrat' && isset($object->date_contrat)) ? $object->date_contrat : (isset($object->date) ? $object->date : null);
|
||||
|
||||
$resarray = array(
|
||||
$array_key.'_id'=>$object->id,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user