diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-07-21 23:55:26 +0300 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-07-21 23:55:26 +0300 |
commit | 98c269be53c1660899bdd357fcdfd87f096a7cdd (patch) | |
tree | ba684629ce8fcdb037480117fa6807a5d767387a /apps/files_external/lib | |
parent | 1ae68047eaa0662d4e57501bf84a57d5b28c3894 (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.php | 4 |
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) { |