Trying to fix #40.
This commit is contained in:
parent
8f8f6973c0
commit
e970a55f24
|
@ -16,11 +16,8 @@ class TagRepository extends EntityRepository
|
||||||
{
|
{
|
||||||
$qb = $this->createQueryBuilder('t');
|
$qb = $this->createQueryBuilder('t');
|
||||||
return $qb
|
return $qb
|
||||||
->where($qb->expr()->eq(
|
->where('LOWER(t.text) = :text')
|
||||||
$qb->expr()->lower('t.text'),
|
->setParameter('text', mb_strtolower($text))
|
||||||
$qb->expr()->lower(':text')
|
|
||||||
))
|
|
||||||
->setParameter('text', $text)
|
|
||||||
->getQuery()->getOneOrNullResult()
|
->getQuery()->getOneOrNullResult()
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue