forked from extern/egroupware
Make merge respect export limit
This commit is contained in:
parent
34354a2a6b
commit
d6aa239e62
@ -286,6 +286,11 @@ abstract class bo_merge
|
||||
{
|
||||
$mimetype = 'application/rtf';
|
||||
}
|
||||
|
||||
$config = config::read('phpgwapi');
|
||||
if($config['export_limit']) {
|
||||
$ids = array_slice($ids, 0, (int)$config['export_limit']);
|
||||
}
|
||||
return $this->merge_string($content,$ids,$err,$mimetype,$fix);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user