Skip to content
Snippets Groups Projects
Commit 2c7bca8e authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

[BUGFIX] fix TYPO3\CMS\Extbase\Persistence\Generic\Query::logicalAnd():...

[BUGFIX] fix TYPO3\CMS\Extbase\Persistence\Generic\Query::logicalAnd(): Argument #1 must be of type TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface, array given
parent 4e865cf3
No related branches found
No related tags found
No related merge requests found
...@@ -476,7 +476,7 @@ class JobRepository extends Repository { ...@@ -476,7 +476,7 @@ class JobRepository extends Repository {
} }
if (\count($companyConstraints) > 0) { if (\count($companyConstraints) > 0) {
$constraints[] = $query->logicalOr($companyConstraints); $constraints[] = $query->logicalOr(...$companyConstraints);
} }
} }
...@@ -487,7 +487,7 @@ class JobRepository extends Repository { ...@@ -487,7 +487,7 @@ class JobRepository extends Repository {
} }
if (\count($departmentConstraints) > 0) { if (\count($departmentConstraints) > 0) {
$constraints[] = $query->logicalOr($departmentConstraints); $constraints[] = $query->logicalOr(...$departmentConstraints);
} }
} }
...@@ -498,7 +498,7 @@ class JobRepository extends Repository { ...@@ -498,7 +498,7 @@ class JobRepository extends Repository {
} }
if (\count($experienceConstraints) > 0) { if (\count($experienceConstraints) > 0) {
$constraints[] = $query->logicalOr($experienceConstraints); $constraints[] = $query->logicalOr(...$experienceConstraints);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment