* addressbook/export: fix problem of failed export for non admins, when no export-limit is set

This commit is contained in:
Klaus Leithoff 2011-10-05 10:33:38 +00:00
parent e2549fd4a0
commit 10c10c32f5

View File

@ -66,7 +66,7 @@ class addressbook_export_contacts_csv implements importexport_iface_export_plugi
}
$GLOBALS['egw_info']['flags']['currentapp'] = $old_app;
if(bo_merge::hasExportLimit($export_limit,'ISALLOWED') && !$limit_exception) {
if(bo_merge::hasExportLimit($export_limit) && !$limit_exception) {
$selection = array_slice($selection, 0, $export_limit);
}
if($options['explode_multiselects']) {