diff --git a/resources/switch.php b/resources/switch.php index f308550930..2ceaf36a64 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -1,5 +1,4 @@ \n"; $xml .= " \n"; $xml .= " \n"; - $xml .= " \n"; + if (strlen($row['event_socket_acl']) > 0) { + $xml .= " \n"; + } $xml .= " \n"; $xml .= ""; fwrite($fout, $xml);