Skip to content

Commit

Permalink
Update dialplan.php
Browse files Browse the repository at this point in the history
  • Loading branch information
markjcrane committed Apr 10, 2019
1 parent 1dbcf48 commit f6a9919
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/dialplans/resources/classes/dialplan.php
Expand Up @@ -393,6 +393,9 @@ public function import() {
if (strlen($row2['@attributes']['inline']) > 0) {
$this->dialplan_detail_inline = $row2['@attributes']['inline'];
}
else {
$this->dialplan_detail_inline = null;
}
$this->dialplan_detail_group = $group;
$this->dialplan_detail_order = $order;
$this->dialplan_detail_add();
Expand All @@ -404,6 +407,12 @@ public function import() {
$this->dialplan_detail_tag = 'anti-action';
$this->dialplan_detail_type = $row2['@attributes']['application'];
$this->dialplan_detail_data = $row2['@attributes']['data'];
if (strlen($row2['@attributes']['inline']) > 0) {
$this->dialplan_detail_inline = $row2['@attributes']['inline'];
}
else {
$this->dialplan_detail_inline = null;
}
$this->dialplan_detail_group = $group;
$this->dialplan_detail_order = $order;
$this->dialplan_detail_add();
Expand Down

0 comments on commit f6a9919

Please sign in to comment.