diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 81c01eb3d0a4f373ceb59e1f3e23336fcb6d18f4..e49d52ebc792105a0adf6267dd763cc815b98409 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -312,7 +312,7 @@ class OC_Mount_Config {
 		} else {
 			$file = OC::$SERVERROOT.'/config/mount.json';
 		}
-		$content = json_encode($data, JSON_PRETTY_PRINTy print json);
+		$content = json_encode($data, JSON_PRETTY_PRINT);
 		@file_put_contents($file, $content);
 	}