- fixed recursive call of method tree()

This commit is contained in:
steinm 2013-02-07 21:45:11 +00:00
parent 0f02123e36
commit 58589c55e9

View File

@ -64,7 +64,7 @@ class LetoDMS_View_ObjectCheck extends LetoDMS_Bootstrap_Style {
$subfolders = $folder->getSubFolders();
foreach($subfolders as $subfolder) {
$this->tree($dms, $subfolder, $indent.' ', $path.$folder->getId().':');
$this->tree($dms, $subfolder, $repair, $path.$folder->getId().':', $indent.' ');
}
$path .= $folder->getId().':';
$documents = $folder->getDocuments();