diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-10-02 17:48:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-02 17:48:16 +0200 |
commit | dfbbf0e18ad585e318c2609e46963e4b9fd198ef (patch) | |
tree | a415df1d2e51a35e1501a15d27dbcc2fad971e10 /src/Wallabag/CoreBundle | |
parent | 77557d289bafc088baf806e4744f110dfd959300 (diff) | |
parent | c3f8b428dd50578a6eba5f4673ea1c9edabd2512 (diff) | |
download | wallabag-dfbbf0e18ad585e318c2609e46963e4b9fd198ef.tar.gz wallabag-dfbbf0e18ad585e318c2609e46963e4b9fd198ef.tar.zst wallabag-dfbbf0e18ad585e318c2609e46963e4b9fd198ef.zip |
Merge pull request #2331 from wallabag/api-links
Fix parameters in API _links
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r-- | src/Wallabag/CoreBundle/Repository/EntryRepository.php | 2 |
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 | ||