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"]) {