mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
add missing traversable-test mentioned by Scrutinizer
This commit is contained in:
parent
8e9fe8d87d
commit
39d432d82a
@ -1906,7 +1906,7 @@ class StreamWrapper extends Api\Db\Pdo implements Vfs\StreamWrapperIface
|
||||
{
|
||||
$props = $props[$row['fs_id']] ? $props[$row['fs_id']] : array(); // return empty array for no props
|
||||
}
|
||||
elseif ($props && isset($stat) && ($id2path = self::id2path(array_keys($props)))) // need to map fs_id's to pathes
|
||||
elseif ($props && isset($stat) && is_array($id2path = self::id2path(array_keys($props)))) // need to map fs_id's to pathes
|
||||
{
|
||||
foreach($id2path as $id => $path)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user