Update gateway_edit.php

This commit is contained in:
FusionPBX 2018-04-24 16:30:52 -06:00 committed by GitHub
parent d6daf2a2cb
commit 0e072bbda5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

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