aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Repository/EntryRepository.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
index 8d2ec9ce..b543c5ae 100644
--- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php
+++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
@@ -111,7 +111,8 @@ class EntryRepository extends EntityRepository
111 111
112 if ($since >= 0) { 112 if ($since >= 0) {
113 $qb->andWhere('e.updatedAt > :since')->setParameter('since', new \DateTime(date('Y-m-d H:i:s', $since))); 113 $qb->andWhere('e.updatedAt > :since')->setParameter('since', new \DateTime(date('Y-m-d H:i:s', $since)));
114 114 }
115
115 if ('' !== $tags) { 116 if ('' !== $tags) {
116 foreach (explode(',', $tags) as $tag) { 117 foreach (explode(',', $tags) as $tag) {
117 $qb->andWhere('t.label = :label')->setParameter('label', $tag); 118 $qb->andWhere('t.label = :label')->setParameter('label', $tag);