Commit daaa2f67 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[BUGFIX] Correct query arguments checks

parent 9e176076
......@@ -51,14 +51,14 @@ class FeatureRepository extends Repository
//We need at least min 1 filterConstraint
$constraints[] = $query->greaterThan('uid', 0);
if ($setting['majorversion'] !== '') {
if ($setting['majorversion'] <> '') {
$constraints[] = $query->equals('typo3releasemajorversion', (int)$setting['majorversion']);
}
if ($setting['minorversion'] !== '') {
if ($setting['minorversion'] <> '') {
$constraints[] = $query->equals('typo3releaseminorversion', (int)$setting['minorversion']);
}
if ($setting['featurearea'] !== '') {
if ($setting['featurearea'] <> '') {
$constraints[] = $query->equals('featureArea', (int)$setting['featurearea']);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment