Update dialplan.php
Use the domain array name as the row so it doesn't conflict with the row array.
This commit is contained in:
@@ -319,7 +319,7 @@ include "root.php";
|
|||||||
$this->dialplan_uuid = uuid();
|
$this->dialplan_uuid = uuid();
|
||||||
$this->dialplan_name = $dialplan['extension']['@attributes']['name'];
|
$this->dialplan_name = $dialplan['extension']['@attributes']['name'];
|
||||||
$this->dialplan_number = $dialplan['extension']['@attributes']['number'];
|
$this->dialplan_number = $dialplan['extension']['@attributes']['number'];
|
||||||
$this->dialplan_context = $row['domain_name'];
|
$this->dialplan_context = $domain['domain_name'];
|
||||||
$this->dialplan_global = false;
|
$this->dialplan_global = false;
|
||||||
if (strlen($dialplan['extension']['@attributes']['global']) > 0) {
|
if (strlen($dialplan['extension']['@attributes']['global']) > 0) {
|
||||||
if ($dialplan['extension']['@attributes']['global'] == "true") {
|
if ($dialplan['extension']['@attributes']['global'] == "true") {
|
||||||
|
|||||||
Reference in New Issue
Block a user