Merge pull request #10719 from owncloud/files-external-personal-undefined

Prevent undefined index error loading external storages
This commit is contained in:
Thomas Müller 2014-08-29 11:59:34 +02:00
commit 2b63c375a4

View file

@ -169,6 +169,7 @@ class OC_Mount_Config {
foreach ($options as &$option) {
$option = self::setUserVars($user, $option);
}
$options['personal'] = false;
$options['options'] = self::decryptPasswords($options['options']);
if (!isset($options['priority'])) {
$options['priority'] = $backends[$options['class']]['priority'];