mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Update dialplan_edit.php
Fix a minor display issue.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user