From 716762a58be2daca0ee02ce40e4c6463b22b9c3b Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sun, 1 May 2016 08:21:15 -0600 Subject: [PATCH] Fix the dialplan import problem caused when checking if the array 'isset' one word was incorrect. --- 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 b6cbdefe06..6690d23872 100644 --- a/app/dialplan/resources/classes/dialplan.php +++ b/app/dialplan/resources/classes/dialplan.php @@ -368,7 +368,7 @@ include "root.php"; $this->dialplan_detail_add(); $order = $order + 5; } - if (isset($row['action-action'])) foreach ($row['anti-action'] as &$row2) { + if (isset($row['anti-action'])) foreach ($row['anti-action'] as &$row2) { $this->dialplan_detail_tag = 'anti-action'; $this->dialplan_detail_type = $row2['@attributes']['application']; $this->dialplan_detail_data = $row2['@attributes']['data'];