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