handling an error on unset props-array

This commit is contained in:
Klaus Leithoff 2009-02-27 10:23:51 +00:00
parent 0b376f24b9
commit 832682620b

View File

@ -532,6 +532,7 @@ class filemanager_ui
{
unset($row); // fixes a weird problem with php5.1, does NOT happen with php5.2
$row =& $rows[$path2n[$path]];
if ( !is_array($props) ) continue;
foreach($props as $prop)
{
if (!$all_cfs && $prop['name'][0] == '#' && !in_array($prop['name'],$cols_to_show)) continue;