diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-26 20:45:32 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-30 10:07:19 -0400 |
commit | 41a74e3dd22c3293c65a4d826256678f173820a5 (patch) | |
tree | 1019ac965fb8aeeed137e0f3382f3dc4947085b1 | |
parent | 164fc1c981503f0db7a6e0acd210d0a8f43e08c8 (diff) | |
download | nextcloud-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.php | 4 |
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 |