diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-26 20:45:32 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-26 20:45:58 -0400 |
commit | d1dee2843798891463d38a839b2253588db88578 (patch) | |
tree | 3b3f69c7e42a1fde7093a4b0ad68d4b632256c90 /settings/personal.php | |
parent | 0a9c33e15119f0cc1f0227357e571f6f8f712302 (diff) | |
download | nextcloud-server-d1dee2843798891463d38a839b2253588db88578.tar.gz nextcloud-server-d1dee2843798891463d38a839b2253588db88578.zip |
Check if size isset, try to fix used space calculation again, fixs bug oc-1331
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']; |