summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-26 20:45:32 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-26 20:45:58 -0400
commitd1dee2843798891463d38a839b2253588db88578 (patch)
tree3b3f69c7e42a1fde7093a4b0ad68d4b632256c90 /settings/personal.php
parent0a9c33e15119f0cc1f0227357e571f6f8f712302 (diff)
downloadnextcloud-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.php2
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'];