Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3_roadmap
Commits
daaa2f67
Commit
daaa2f67
authored
Sep 15, 2020
by
Stefan Busemann
Browse files
[BUGFIX] Correct query arguments checks
parent
9e176076
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Domain/Repository/FeatureRepository.php
View file @
daaa2f67
...
...
@@ -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'
]);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment