summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-07-01 14:51:01 +0200
committerVincent Petry <pvince81@owncloud.com>2014-07-01 14:51:01 +0200
commit577d06ea4d9e986c636fff3e39e53aad9672e20c (patch)
tree12b4fe56774e3216b35a6fa39caf3e69c5e0f10e /apps
parent616f9b1e03b7939605ec233f7af5cc78b0be9fde (diff)
parent5e6f6da786da610d10eb9ca17c60fe6e1719c5c5 (diff)
downloadnextcloud-server-577d06ea4d9e986c636fff3e39e53aad9672e20c.tar.gz
nextcloud-server-577d06ea4d9e986c636fff3e39e53aad9672e20c.zip
Merge pull request #9328 from owncloud/extstorage-annoyingwarnings
Fix warnings when personal is not set
Diffstat (limited to 'apps')
-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);