From 41a74e3dd22c3293c65a4d826256678f173820a5 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Thu, 26 Jul 2012 20:45:32 -0400 Subject: [PATCH] Check if size isset, try to fix used space calculation again, fixs bug oc-1331 Conflicts: settings/personal.php --- settings/personal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings/personal.php b/settings/personal.php index 04abd074eb..eb45c1b3aa 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