From f7ad8b3b56f88745db71611c6509dac02ec85eea Mon Sep 17 00:00:00 2001 From: ednt Date: Tue, 18 Jun 2019 16:05:50 +0200 Subject: [PATCH] Add the description element for import (#4288) To make it possible to use descriptions for own dialplan xmls --- app/dialplans/resources/classes/dialplan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialplans/resources/classes/dialplan.php b/app/dialplans/resources/classes/dialplan.php index 004d910696..967c2b5c3d 100644 --- a/app/dialplans/resources/classes/dialplan.php +++ b/app/dialplans/resources/classes/dialplan.php @@ -354,7 +354,7 @@ include "root.php"; else { $this->dialplan_enabled = "true"; } - $this->dialplan_description = ''; + $this->dialplan_descriptio = $dialplan['extension']['@attributes']['description']; $this->dialplan_add(); //loop through the condition array $x = 0;