From: Michael Gapczynski Date: Fri, 27 Jul 2012 00:45:32 +0000 (-0400) Subject: Check if size isset, try to fix used space calculation again, fixs bug oc-1331 X-Git-Tag: v4.0.6~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=41a74e3dd22c3293c65a4d826256678f173820a5;p=nextcloud-server.git Check if size isset, try to fix used space calculation again, fixs bug oc-1331 Conflicts: settings/personal.php --- diff --git a/settings/personal.php b/settings/personal.php index 04abd074eb7..eb45c1b3aa8 100644 --- a/settings/personal.php +++ b/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(); -?> +?> \ No newline at end of file