From 279b93474615b7dc2e6852aa3e7397ec24e9dd44 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 5 Oct 2011 10:32:24 +0000 Subject: [PATCH] * addressbook/export: fix problem of failed export for non admins, when no export-limit is set --- addressbook/inc/class.addressbook_export_contacts_csv.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_export_contacts_csv.inc.php b/addressbook/inc/class.addressbook_export_contacts_csv.inc.php index 2b87fae10b..37427859df 100644 --- a/addressbook/inc/class.addressbook_export_contacts_csv.inc.php +++ b/addressbook/inc/class.addressbook_export_contacts_csv.inc.php @@ -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']) {