summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-26 20:45:32 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-30 10:07:19 -0400
commit41a74e3dd22c3293c65a4d826256678f173820a5 (patch)
tree1019ac965fb8aeeed137e0f3382f3dc4947085b1
parent164fc1c981503f0db7a6e0acd210d0a8f43e08c8 (diff)
downloadnextcloud-server-41a74e3dd22c3293c65a4d826256678f173820a5.tar.gz
nextcloud-server-41a74e3dd22c3293c65a4d826256678f173820a5.zip
Check if size isset, try to fix used space calculation again, fixs bug oc-1331
Conflicts: settings/personal.php
-rw-r--r--settings/personal.php4
1 files changed, 2 insertions, 2 deletions
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