From 44531c0e45f596a84930b7a9c088ce1f2b11dbde Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 27 Feb 2009 10:22:28 +0000 Subject: [PATCH] handling an error on unset props-array --- filemanager/inc/class.filemanager_ui.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 28fd635d11..bf1d183d54 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -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;