From 5e6f6da786da610d10eb9ca17c60fe6e1719c5c5 Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Tue, 1 Jul 2014 13:32:57 +0200
Subject: [PATCH] Fix warnings when personal is not set

---
 apps/files_external/lib/config.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index f860d5e705..934f9a6903 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);
-- 
GitLab