Fix warnings when personal is not set

remotes/origin/ldap_group_count
Vincent Petry 11 years ago
parent 431f8bd08e
commit 5e6f6da786
  1. 2
      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);

Loading…
Cancel
Save