aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-02 15:41:08 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-02 15:41:08 +0200
commitc3f8b428dd50578a6eba5f4673ea1c9edabd2512 (patch)
tree1a24365071236c8dc6fca51d80e3ea348893f87c /src/Wallabag/CoreBundle
parent1dc3bee6b916b228c596a45d20dc6ae14ac555cb (diff)
downloadwallabag-c3f8b428dd50578a6eba5f4673ea1c9edabd2512.tar.gz
wallabag-c3f8b428dd50578a6eba5f4673ea1c9edabd2512.tar.zst
wallabag-c3f8b428dd50578a6eba5f4673ea1c9edabd2512.zip
Fix parameters in API _links
We forgot to pass them to the factory
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r--src/Wallabag/CoreBundle/Repository/EntryRepository.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
index 1b023e96..75127b7d 100644
--- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php
+++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
@@ -128,7 +128,7 @@ class EntryRepository extends EntityRepository
128 $qb->andWhere('e.isStarred =:isStarred')->setParameter('isStarred', (bool) $isStarred); 128 $qb->andWhere('e.isStarred =:isStarred')->setParameter('isStarred', (bool) $isStarred);
129 } 129 }
130 130
131 if ($since >= 0) { 131 if ($since > 0) {
132 $qb->andWhere('e.updatedAt > :since')->setParameter('since', new \DateTime(date('Y-m-d H:i:s', $since))); 132 $qb->andWhere('e.updatedAt > :since')->setParameter('since', new \DateTime(date('Y-m-d H:i:s', $since)));
133 } 133 }
134 134