Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-07-21 23:55:26 +0300
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-07-21 23:55:26 +0300
commit98c269be53c1660899bdd357fcdfd87f096a7cdd (patch)
treeba684629ce8fcdb037480117fa6807a5d767387a /apps/files_external/lib
parent1ae68047eaa0662d4e57501bf84a57d5b28c3894 (diff)
Fix invalid recursion
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/config.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 2f0cbaca790..5935d117e91 100644
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -287,9 +287,7 @@ class OC_Mount_Config {
$result = true;
if(is_array($option)) {
foreach ($option as $optionItem) {
- if(is_array($optionItem)) {
- $result = $result && self::arePlaceholdersSubstituted($option);
- }
+ $result = $result && self::arePlaceholdersSubstituted($optionItem);
}
} else if (is_string($option)) {
if (strpos(rtrim($option, '$'), '$') !== false) {