diff --git a/plugins/restful/RestfulEntityBaseMultipleBundles.php b/plugins/restful/RestfulEntityBaseMultipleBundles.php index eaaa82a7..4f26fb93 100644 --- a/plugins/restful/RestfulEntityBaseMultipleBundles.php +++ b/plugins/restful/RestfulEntityBaseMultipleBundles.php @@ -58,7 +58,7 @@ public function getList() { if (empty($result[$entity_type])) { - return; + return array(); } $account = $this->getAccount();