From 8a449172a0b7bd98ca3c9387d0691a9c768fbd14 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 13 May 2023 20:52:18 -0600 Subject: [PATCH] Update gateway_edit.php --- app/gateways/gateway_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gateways/gateway_edit.php b/app/gateways/gateway_edit.php index 92ac5d4ef4..a1f85ff4d7 100644 --- a/app/gateways/gateway_edit.php +++ b/app/gateways/gateway_edit.php @@ -264,7 +264,7 @@ } //pre-populate the form - if (!empty($_GET) && !empty($_GET["id"]) && is_uuid($_GET["id"]) && !empty($_POST["persistformvar"])) { + if (!empty($_GET) && !empty($_GET["id"]) && is_uuid($_GET["id"]) && empty($_POST["persistformvar"])) { $gateway_uuid = $_GET["id"]; $sql = "select * from v_gateways "; $sql .= "where gateway_uuid = :gateway_uuid ";