diff options
-rwxr-xr-x | run-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index f8f634987b..f713f74339 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1009,7 +1009,7 @@ function system_with_timeout($commandline, $env = null, $stdin = null) $data = ''; $bin_env = array(); - foreach($env as $key => $value) { + foreach((array)$env as $key => $value) { $bin_env[(binary)$key] = (binary)$value; } |