Update menu_edit.php

This commit is contained in:
FusionPBX 2019-11-23 16:59:47 -07:00 committed by GitHub
parent dc53519fdf
commit 3d0fbc1690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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