forked from extern/egroupware
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);
|
importexport_export_csv::convert($record, $types, 'infolog', $selects);
|
||||||
|
|
||||||
|
$array = $record->get_record_array();
|
||||||
if($record->info_contact)
|
if($record->info_contact)
|
||||||
{
|
{
|
||||||
$array['info_contact'] = $array['info_link']['title'];
|
$array['info_contact'] = $array['info_link']['title'];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set any missing custom fields, or the marker will stay
|
// Set any missing custom fields, or the marker will stay
|
||||||
$array = $record->get_record_array();
|
|
||||||
foreach($this->bo->customfields as $name => $field)
|
foreach($this->bo->customfields as $name => $field)
|
||||||
{
|
{
|
||||||
if(!$array['#'.$name])
|
if(!$array['#'.$name])
|
||||||
|
Loading…
Reference in New Issue
Block a user