From 0e072bbda5e68f9d21dbf4df3c180b4418a47c06 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 24 Apr 2018 16:30:52 -0600 Subject: [PATCH] Update gateway_edit.php --- app/gateways/gateway_edit.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/gateways/gateway_edit.php b/app/gateways/gateway_edit.php index bea6245081..48063b35a1 100644 --- a/app/gateways/gateway_edit.php +++ b/app/gateways/gateway_edit.php @@ -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") {