From 3d0fbc16908e18e1b51b536c47fde36666d64aaa Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 23 Nov 2019 16:59:47 -0700 Subject: [PATCH] Update menu_edit.php --- core/menu/menu_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/menu/menu_edit.php b/core/menu/menu_edit.php index cada30a73c..0be4a33d67 100644 --- a/core/menu/menu_edit.php +++ b/core/menu/menu_edit.php @@ -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 ";