mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-25 10:20:18 -06:00
#901 Fixed condition type
This commit is contained in:
parent
850360dd2b
commit
5485efc9ae
@ -17,7 +17,7 @@ class DomainRepository extends EntityRepository implements DomainRepositoryInter
|
|||||||
public function findDomainsWithout(?string $excludedAuthority = null): array
|
public function findDomainsWithout(?string $excludedAuthority = null): array
|
||||||
{
|
{
|
||||||
$qb = $this->createQueryBuilder('d');
|
$qb = $this->createQueryBuilder('d');
|
||||||
$qb->join(ShortUrl::class, 's', Join::WITH, $qb->expr()->eq('s.domain', 'd'))
|
$qb->join(ShortUrl::class, 's', Join::WITH, 's.domain = d')
|
||||||
->orderBy('d.authority', 'ASC');
|
->orderBy('d.authority', 'ASC');
|
||||||
|
|
||||||
if ($excludedAuthority !== null) {
|
if ($excludedAuthority !== null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user