diff --git a/resources/switch.php b/resources/switch.php
index af82a6119c..f308550930 100644
--- a/resources/switch.php
+++ b/resources/switch.php
@@ -174,7 +174,7 @@ function save_setting_xml() {
$xml .= " \n";
$xml .= " \n";
$xml .= " \n";
- $xml .= " \n";
+ $xml .= " \n";
$xml .= " \n";
$xml .= "";
fwrite($fout, $xml);