mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
making sure rows is an array in id2path
This commit is contained in:
parent
dd5376c41f
commit
27891f2803
@ -1384,7 +1384,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
|||||||
return false; // parent not found, should never happen ...
|
return false; // parent not found, should never happen ...
|
||||||
}
|
}
|
||||||
if (self::LOG_LEVEL > 1) error_log(__METHOD__." trying foreach with:".print_r($rows,true)."#");
|
if (self::LOG_LEVEL > 1) error_log(__METHOD__." trying foreach with:".print_r($rows,true)."#");
|
||||||
foreach($rows as $fs_id => $row)
|
foreach((array)$rows as $fs_id => $row)
|
||||||
{
|
{
|
||||||
$parent = $row['fs_dir'] > 1 ? $parents[$row['fs_dir']] : '';
|
$parent = $row['fs_dir'] > 1 ? $parents[$row['fs_dir']] : '';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user