Merge pull request #9328 from owncloud/extstorage-annoyingwarnings

Fix warnings when personal is not set
remotes/origin/ldap_group_count
Vincent Petry 2014-07-01 14:51:01 +07:00
commit 577d06ea4d
1 changed files with 1 additions and 1 deletions

@ -111,7 +111,7 @@ class OC_Mount_Config {
$objectClass = $options['options']['objectstore']['class'];
$options['options']['objectstore'] = new $objectClass($options['options']['objectstore']);
}
if ($options['personal']){
if (isset($options['personal']) && $options['personal']) {
$mount = new \OCA\Files_External\PersonalMount($options['class'], $mountPoint, $options['options'], $loader);
} else{
$mount = new \OC\Files\Mount\Mount($options['class'], $mountPoint, $options['options'], $loader);