summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-07-01 13:32:57 +0200
committerVincent Petry <pvince81@owncloud.com>2014-07-01 13:32:57 +0200
commit5e6f6da786da610d10eb9ca17c60fe6e1719c5c5 (patch)
tree4bf8169b4827ee4eb8bfa4a9329f8424b34c493c /apps/files_external/lib
parent431f8bd08e8ddf5db5f498c8f6575fe36423f295 (diff)
downloadnextcloud-server-5e6f6da786da610d10eb9ca17c60fe6e1719c5c5.tar.gz
nextcloud-server-5e6f6da786da610d10eb9ca17c60fe6e1719c5c5.zip
Fix warnings when personal is not set
Diffstat (limited to 'apps/files_external/lib')
-rwxr-xr-xapps/files_external/lib/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index f860d5e705f..934f9a69032 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -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);