mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Apply user rights on sub-definition
This commit is contained in:
@@ -450,11 +450,14 @@ class Feed_Entry_Adapter implements Feed_Entry_Interface, cache_cacheableInterfa
|
||||
|
||||
$rs = $this->retrieve_elements();
|
||||
$items = array();
|
||||
foreach ($rs as $item_id) {
|
||||
try {
|
||||
$items[] = new Feed_Entry_Item($this->app['phraseanet.appbox'], $this, $item_id);
|
||||
} catch (NotFoundHttpException $e) {
|
||||
|
||||
if ($rs) {
|
||||
foreach ($rs as $item_id) {
|
||||
try {
|
||||
$items[] = new Feed_Entry_Item($this->app['phraseanet.appbox'], $this, $item_id);
|
||||
} catch (NotFoundHttpException $e) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user