diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 9b2cb0d0b0e449c90dc54e00dc8906a50da578c1..dbb12ecd9bb1e41d88d69f5f952ea7f0cb091f23 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -173,7 +173,7 @@ class OC_Mount_Config {
 	 */
 	public static function initMountPointsHook($data) {
 		$mountPoints = self::getAbsoluteMountPoints($data['user']);
-		foreach ($mountPoints as $mountPoints => $options) {
+		foreach ($mountPoints as $mountPoint => $options) {
 			\OC\Files\Filesystem::mount($options['class'], $options['options'], $mountPoint);
 		}
 	}