mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
one more undefined index error
This commit is contained in:
parent
e3ae0b7ba6
commit
5b04db9b22
1 changed files with 2 additions and 2 deletions
|
|
@ -354,8 +354,8 @@ class OC_FileCache{
|
|||
public static function increaseSize($path, $sizeDiff, $root=false) {
|
||||
if($sizeDiff==0) return;
|
||||
$item = OC_FileCache_Cached::get($path);
|
||||
//stop walking up the filetree if we hit a non-folder
|
||||
if($item['mimetype'] !== 'httpd/unix-directory'){
|
||||
//stop walking up the filetree if we hit a non-folder or reached to root folder
|
||||
if($path == '/' || $path=='' || $item['mimetype'] !== 'httpd/unix-directory'){
|
||||
return;
|
||||
}
|
||||
$id = $item['id'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue