mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
mending Warnings: Cannot use a scalar value as an array
This commit is contained in:
parent
16d7185548
commit
39fc5ab48e
@ -600,7 +600,9 @@ class vfs_stream_wrapper implements iface_stream_wrapper
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$scheme2urls[(string)parse_url($url,PHP_URL_SCHEME)][$path] = $url;
|
||||
$k=(string)parse_url($url,PHP_URL_SCHEME);
|
||||
if (!(is_array($scheme2urls[$k]))) $scheme2urls[$k] = array();
|
||||
$scheme2urls[$k][$path] = $url;
|
||||
}
|
||||
$ret = array();
|
||||
foreach($scheme2urls as $scheme => $urls)
|
||||
|
Loading…
Reference in New Issue
Block a user