MFB: Fixing strict warning

This commit is contained in:
Lars Strojny 2008-12-11 02:38:10 +00:00
parent f9c92ffcb8
commit 229297cc9a

View File

@ -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;
}