diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 5935d117e91a9c6cffa33a4506f7a6d23b791377..cc417a837facabe96fd810c26f2db722adc2eb5b 100644
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -287,7 +287,7 @@ class OC_Mount_Config {
 		$result = true;
 		if(is_array($option)) {
 			foreach ($option as $optionItem) {
-					$result = $result && self::arePlaceholdersSubstituted($optionItem);
+				$result = $result && self::arePlaceholdersSubstituted($optionItem);
 			}
 		} else if (is_string($option)) {
 			if (strpos(rtrim($option, '$'), '$') !== false) {