Update menu_edit.php

This commit is contained in:
FusionPBX
2019-11-23 16:59:47 -07:00
committed by GitHub
parent b65a4f3e34
commit 04bf1b9022

View File

@@ -132,7 +132,7 @@
}
//pre-populate the form
if (count($_GET) > 0 && is_array($_GET["id"]) && $_POST["persistformvar"] != "true") {
if (count($_GET) > 0 && is_uuid($_GET["id"]) && $_POST["persistformvar"] != "true") {
$menu_uuid = $_GET["id"];
$sql = "select * from v_menus ";
$sql .= "where menu_uuid = :menu_uuid ";