uncomment testwise commented allowens for admins to export more then the export limit

This commit is contained in:
Ralf Becker 2011-06-17 13:35:00 +00:00
parent dbac6bf8f0
commit d13b605db8

View File

@ -294,7 +294,7 @@ abstract class bo_merge
} }
// check export-limit and fail if user tries to export more entries then allowed // check export-limit and fail if user tries to export more entries then allowed
if ($this->export_limit && //!$GLOBALS['egw_info']['user']['apps']['admin'] && if ($this->export_limit && !$GLOBALS['egw_info']['user']['apps']['admin'] &&
count($ids) > (int)$this->export_limit) count($ids) > (int)$this->export_limit)
{ {
$err = lang('No rights to export more then %1 entries!',(int)$this->export_limit); $err = lang('No rights to export more then %1 entries!',(int)$this->export_limit);