From 491a837d715cd3b115fb62d6a5ee76d4e882a372 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 1 Jul 2016 17:58:24 -0600 Subject: [PATCH] Update dialplan.php Use the domain array name as the row so it doesn't conflict with the row array. --- app/dialplan/resources/classes/dialplan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialplan/resources/classes/dialplan.php b/app/dialplan/resources/classes/dialplan.php index 0906c34326..d28ff3193e 100644 --- a/app/dialplan/resources/classes/dialplan.php +++ b/app/dialplan/resources/classes/dialplan.php @@ -319,7 +319,7 @@ include "root.php"; $this->dialplan_uuid = uuid(); $this->dialplan_name = $dialplan['extension']['@attributes']['name']; $this->dialplan_number = $dialplan['extension']['@attributes']['number']; - $this->dialplan_context = $row['domain_name']; + $this->dialplan_context = $domain['domain_name']; $this->dialplan_global = false; if (strlen($dialplan['extension']['@attributes']['global']) > 0) { if ($dialplan['extension']['@attributes']['global'] == "true") {