Update dialplan_edit.php

Fix a minor display issue.
This commit is contained in:
FusionPBX
2018-06-19 20:33:10 -06:00
committed by GitHub
parent 06af0ea61d
commit 0466ff86b2

View File

@@ -707,7 +707,7 @@
$prep_statement->execute();
$gateways = $prep_statement->fetchAll(PDO::FETCH_NAMED);
if (is_array($gateways)) {
$gateway_name = $result[0]['gateway'];
$gateway_name = $gateways[0]['gateway'];
$dialplan_detail_data_mod = str_replace($bridge_statement[2], $gateway_name, $dialplan_detail_data);
}
unset ($prep_statement, $sql, $bridge_statement, $gateways);