Update gateway_edit.php

This commit is contained in:
FusionPBX
2023-05-13 20:52:18 -06:00
committed by GitHub
parent 059aea351e
commit 8a449172a0

View File

@@ -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 ";