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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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