We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3d8c57 + 4593586 commit 5fd5b8bCopy full SHA for 5fd5b8b
Form/ChoiceList/ORMQueryBuilderLoader.php
@@ -53,7 +53,7 @@ public function getEntities()
53
*/
54
public function getEntitiesByIds(string $identifier, array $values)
55
{
56
- if (null !== $this->queryBuilder->getMaxResults() || null !== $this->queryBuilder->getFirstResult()) {
+ if (null !== $this->queryBuilder->getMaxResults() || 0 < (int) $this->queryBuilder->getFirstResult()) {
57
// an offset or a limit would apply on results including the where clause with submitted id values
58
// that could make invalid choices valid
59
$choices = [];
0 commit comments