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