Update gateway_edit.php

This commit is contained in:
FusionPBX
2018-04-24 16:31:17 -06:00
committed by GitHub
parent 18ef639d22
commit 4539e8e74c

View File

@@ -169,11 +169,7 @@
require_once "resources/footer.php";
return;
}
//remove the invalid characters from the gateway name
$gateway = str_replace(" ", "_", $gateway);
$gateway = str_replace("/", "", $gateway);
//add or update the database
if ($_POST["persistformvar"] != "true") {