Update call_flow_edit.php

This commit is contained in:
FusionPBX 2019-06-19 08:02:05 -06:00 committed by GitHub
parent 4c5ea29ecb
commit 83817d53f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 "<optgroup label='Phrases'>\n";
foreach ($result as &$row) {
if ($var == "phrase:".$row["phrase_uuid"]) {