Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
0f4e051b
Commit
0f4e051b
authored
Feb 11, 2017
by
Carsten Rose
Browse files
Commit for unit testing on CI - array evluation fails only on CI
parent
0d39afbb
Changes
1
Show whitespace changes
Inline
Side-by-side
extension/qfq/qfq/store/Store.php
View file @
0f4e051b
...
...
@@ -410,7 +410,7 @@ class Store {
}
else
{
// Check of HTTP_ACCEPT_ENCODING is only to detect if phpUnit is running.
// if (isset($_SERVER['HTTP_ACCEPT_ENCODING']) && !is_numeric($value)) {
if
(
!
is_numeric
(
$value
))
{
if
(
$key
!=
'argv'
&&
!
is_numeric
(
$value
))
{
throw
new
qfq\CodeException
(
"Expect type 'string' - "
.
print_r
(
$arr
),
ERROR_UNEXPECTED_TYPE
);
}
}
...
...
Write
Preview
Supports
Markdown
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