mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Fix Feed Collection
This commit is contained in:
@@ -124,7 +124,7 @@ class Feed_Collection implements Feed_CollectionInterface, cache_cacheableInterf
|
||||
|
||||
}
|
||||
|
||||
$sql = 'SELECT id FROM feeds WHERE public = "1" ORDER BY created_on DESC';
|
||||
$sql = 'SELECT * FROM feeds WHERE public = "1" AND base_id = null ORDER BY created_on DESC';
|
||||
$stmt = $appbox->get_connection()->prepare($sql);
|
||||
$stmt->execute();
|
||||
$rs = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
Reference in New Issue
Block a user