Update gateway_edit.php

This commit is contained in:
FusionPBX
2018-04-24 16:30:52 -06:00
committed by GitHub
parent c7510768c7
commit bf16a292d1

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") {