fix error with empty yield

This commit is contained in:
Julien Fastré 2016-12-09 20:35:26 +01:00
parent 9d18581db1
commit 2cf948192c

View File

@ -379,7 +379,8 @@ class ExportManager
public function &getAggregatorsApplyingOn(ExportInterface $export, array $centers = null)
{
if ($export instanceof ListInterface) {
return array();
return;
}
foreach ($this->aggregators as $alias => $aggregator) {