From d1dee2843798891463d38a839b2253588db88578 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Thu, 26 Jul 2012 20:45:32 -0400 Subject: Check if size isset, try to fix used space calculation again, fixs bug oc-1331 --- settings/personal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings/personal.php') diff --git a/settings/personal.php b/settings/personal.php index 8ad3af08734..82626526d57 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']; -- cgit v1.2.3