handling an error on unset props-array

This commit is contained in:
Klaus Leithoff 2009-02-27 10:22:28 +00:00
parent 3850ce1a63
commit 44531c0e45

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;