forked from extern/egroupware
handling an error on unset props-array
This commit is contained in:
parent
3850ce1a63
commit
44531c0e45
@ -532,6 +532,7 @@ class filemanager_ui
|
|||||||
{
|
{
|
||||||
unset($row); // fixes a weird problem with php5.1, does NOT happen with php5.2
|
unset($row); // fixes a weird problem with php5.1, does NOT happen with php5.2
|
||||||
$row =& $rows[$path2n[$path]];
|
$row =& $rows[$path2n[$path]];
|
||||||
|
if ( !is_array($props) ) continue;
|
||||||
foreach($props as $prop)
|
foreach($props as $prop)
|
||||||
{
|
{
|
||||||
if (!$all_cfs && $prop['name'][0] == '#' && !in_array($prop['name'],$cols_to_show)) continue;
|
if (!$all_cfs && $prop['name'][0] == '#' && !in_array($prop['name'],$cols_to_show)) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user