Make merge respect export limit

This commit is contained in:
Nathan Gray 2011-02-24 00:08:12 +00:00
parent 34354a2a6b
commit d6aa239e62

View File

@ -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);
}