Check if size isset, try to fix used space calculation again, fixs bug oc-1331

Conflicts:
	settings/personal.php
remotes/origin/stable4
Michael Gapczynski 13 years ago
parent 164fc1c981
commit 41a74e3dd2
  1. 4
      settings/personal.php

@ -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'];
@ -67,4 +67,4 @@ foreach($forms as $form){
}
$tmpl->printPage();
?>
?>
Loading…
Cancel
Save