mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
Fixed RSSFeeds bug for php 5.3, fixed Aggregate->getEntries() called without any feed
This commit is contained in:
@@ -43,7 +43,7 @@ class UserSettingRepository extends EntityRepository
|
||||
$query = $this->_em->createQuery($dql);
|
||||
$query->setParameter('feeds', $feeds);
|
||||
|
||||
if (null !== $offset_start) {
|
||||
if (null !== $offset_start && 0 !== $offset_start) {
|
||||
$query->setFirstResult($offset_start);
|
||||
}
|
||||
if (null !== $how_many) {
|
||||
|
Reference in New Issue
Block a user