#1246 DDC-3487 - removed unused assignment, direct return instead
This commit is contained in:
parent
17a865ec7f
commit
c4366124c7
1 changed files with 3 additions and 2 deletions
|
@ -289,8 +289,9 @@ class ManyToManyPersister extends AbstractCollectionPersister
|
|||
}
|
||||
}
|
||||
|
||||
$sql = implode(' AND ', $filterClauses);
|
||||
return $sql ? '(' . $sql . ')' : '';
|
||||
return $filterClauses
|
||||
? '(' . implode(' AND ', $filterClauses) . ')'
|
||||
: '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue