[Pkg-owncloud-commits] [owncloud] 162/273: Fix warnings when personal is not set

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:13:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 5e6f6da786da610d10eb9ca17c60fe6e1719c5c5
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Tue Jul 1 13:32:57 2014 +0200

    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 f860d5e..934f9a6 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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list