diff --git a/settings/personal.php b/settings/personal.php
index 04abd074eb72b51db9217be384ffd1f15e12ac2d..eb45c1b3aa859a86e067e3d6009bc295817a6ea3 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