summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapps/files_external/lib/config.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 5e5340e910f..223b91788cb 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -756,6 +756,11 @@ class OC_Mount_Config {
$applicable = key($mountPoint);
if (isset($data[$mountType])) {
if (isset($data[$mountType][$applicable])) {
+ if (isset($mountPoints[$mountType][$applicable][$mountPoint])
+ && isset($mountPoints[$mountType][$applicable][$mountPoint]['priority'])) {
+ $mount[$applicable][$mountPoint]['priority']
+ = $mountPoints[$mountType][$applicable][$mountPoint]['priority'];
+ }
$data[$mountType][$applicable]
= array_merge($data[$mountType][$applicable], $mountPoint[$applicable]);
} else {