mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 22:38:54 +01:00
add missing traversable-test mentioned by Scrutinizer
This commit is contained in:
parent
2fbafeaa27
commit
ad059b81e7
@ -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
|
$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)
|
foreach($id2path as $id => $path)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user