mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Fix variable not defined before using it
(thanks, Scrutenizer)
This commit is contained in:
parent
7c86b20614
commit
108498e0cd
@ -108,13 +108,14 @@ class infolog_merge extends Api\Storage\Merge
|
||||
}
|
||||
|
||||
importexport_export_csv::convert($record, $types, 'infolog', $selects);
|
||||
|
||||
$array = $record->get_record_array();
|
||||
if($record->info_contact)
|
||||
{
|
||||
$array['info_contact'] = $array['info_link']['title'];
|
||||
}
|
||||
|
||||
// Set any missing custom fields, or the marker will stay
|
||||
$array = $record->get_record_array();
|
||||
foreach($this->bo->customfields as $name => $field)
|
||||
{
|
||||
if(!$array['#'.$name])
|
||||
|
Loading…
Reference in New Issue
Block a user