Check if size isset, try to fix used space calculation again, fixs bug oc-1331
This commit is contained in:
parent
0a9c33e151
commit
d1dee28437
|
@ -18,7 +18,7 @@ OC_App::setActiveNavigationEntry( 'personal' );
|
|||
// calculate the disc space
|
||||
$rootInfo=OC_FileCache::get('');
|
||||
$sharedInfo=OC_FileCache::get('/Shared');
|
||||
if (!isset($sharedInfo)) {
|
||||
if (!isset($sharedInfo['size'])) {
|
||||
$sharedSize = 0;
|
||||
} else {
|
||||
$sharedSize = $sharedInfo['size'];
|
||||
|
|
Loading…
Reference in New Issue