diff --git a/filemanager/inc/class.uifilemanager.inc.php b/filemanager/inc/class.uifilemanager.inc.php index 3890785eaa..6566001b9e 100755 --- a/filemanager/inc/class.uifilemanager.inc.php +++ b/filemanager/inc/class.uifilemanager.inc.php @@ -726,6 +726,7 @@ 'string' => $files['directory'] . '/' . $files['name'], 'relatives' => array(RELATIVE_NONE) ); + if($files['mime_type'] != 'Directory') $tmp_arr['checksubdirs'] = false; $size = $this->bo->vfs->get_size($tmp_arr);