Commit 0f4e051b authored by Carsten  Rose's avatar Carsten Rose
Browse files

Commit for unit testing on CI - array evluation fails only on CI

parent 0d39afbb
...@@ -410,7 +410,7 @@ class Store { ...@@ -410,7 +410,7 @@ class Store {
} else { } else {
// Check of HTTP_ACCEPT_ENCODING is only to detect if phpUnit is running. // Check of HTTP_ACCEPT_ENCODING is only to detect if phpUnit is running.
// if (isset($_SERVER['HTTP_ACCEPT_ENCODING']) && !is_numeric($value)) { // 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); throw new qfq\CodeException ("Expect type 'string' - " . print_r($arr), ERROR_UNEXPECTED_TYPE);
} }
} }
......
Supports Markdown
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