fix merge issue

This commit is contained in:
Thomas Citharel 2016-06-29 20:52:37 +02:00
parent 28803f106b
commit 4f0558a0d4

View file

@ -111,7 +111,8 @@ class EntryRepository extends EntityRepository
if ($since >= 0) {
$qb->andWhere('e.updatedAt > :since')->setParameter('since', new \DateTime(date('Y-m-d H:i:s', $since)));
}
if ('' !== $tags) {
foreach (explode(',', $tags) as $tag) {
$qb->andWhere('t.label = :label')->setParameter('label', $tag);