mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 22:40:23 +01:00
Fix fatal error in export caused by field mismatch (not defined)
This commit is contained in:
parent
ba7cd8a7ca
commit
4fca95b797
@ -38,6 +38,11 @@ class calendar_export_csv implements importexport_iface_export_plugin {
|
|||||||
if($key[0] == '#') $cfs[] = substr($key,1);
|
if($key[0] == '#') $cfs[] = substr($key,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$query = array(
|
||||||
|
'cfs' => $cfs, // Otherwise we shouldn't get any custom fields
|
||||||
|
'num_rows' => -1,
|
||||||
|
'csv_export' => true
|
||||||
|
);
|
||||||
switch($options['selection'])
|
switch($options['selection'])
|
||||||
{
|
{
|
||||||
case 'criteria':
|
case 'criteria':
|
||||||
@ -113,11 +118,6 @@ class calendar_export_csv implements importexport_iface_export_plugin {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'filter':
|
case 'filter':
|
||||||
$query = array(
|
|
||||||
'cfs' => $cfs, // Otherwise we shouldn't get any custom fields
|
|
||||||
'num_rows' => -1,
|
|
||||||
'csv_export' => true
|
|
||||||
);
|
|
||||||
$fields = importexport_helper_functions::get_filter_fields($_definition->application, $this);
|
$fields = importexport_helper_functions::get_filter_fields($_definition->application, $this);
|
||||||
$filter = $_definition->filter;
|
$filter = $_definition->filter;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user