mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 14:58:52 +01:00
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';
|
$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);
|
return $this->merge_string($content,$ids,$err,$mimetype,$fix);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user