diff --git a/filesystem/Folder.php b/filesystem/Folder.php index f00a941cb..f004b542a 100755 --- a/filesystem/Folder.php +++ b/filesystem/Folder.php @@ -67,6 +67,7 @@ class Folder extends File { if($dbChildren) { foreach($dbChildren as $dbChild) { $className = $dbChild['ClassName']; + if(!$className) $className = "File"; $hasDbChild[$dbChild['Name']] = new $className($dbChild); } }