From dfcf4148cf7577d7246633a8b5c01b055f166fa5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 19 Jun 2019 08:02:05 -0600 Subject: [PATCH] Update call_flow_edit.php --- app/call_flows/call_flow_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/call_flows/call_flow_edit.php b/app/call_flows/call_flow_edit.php index cccde0a8e0..3880c4093e 100644 --- a/app/call_flows/call_flow_edit.php +++ b/app/call_flows/call_flow_edit.php @@ -259,7 +259,7 @@ //pre-populate the form if (is_array($_GET) && $_POST["persistformvar"] != "true") { - $call_flow_uuid = check_str($_GET["id"]); + $call_flow_uuid = $_GET["id"]; $sql = "select * from v_call_flows "; $sql .= "where domain_uuid = :domain_uuid "; $sql .= "and call_flow_uuid = :call_flow_uuid "; @@ -399,7 +399,7 @@ $database = new database; $result = $database->select($sql, $parameters, 'all'); unset($parameters, $sql); - if (is_array($result) { + if (is_array($result)) { echo "\n"; foreach ($result as &$row) { if ($var == "phrase:".$row["phrase_uuid"]) {