Update dialplan.php

This commit is contained in:
FusionPBX
2018-02-25 00:33:00 -07:00
committed by GitHub
parent dc3cd00fc3
commit 490b754f9a

View File

@@ -338,9 +338,6 @@ include "root.php";
$this->dialplan_global = true; $this->dialplan_global = true;
} }
} }
if ($this->display_type == "text") {
echo " ".$this->dialplan_name.": added\n";
}
if (strlen($dialplan['extension']['@attributes']['continue']) > 0) { if (strlen($dialplan['extension']['@attributes']['continue']) > 0) {
$this->dialplan_continue = $dialplan['extension']['@attributes']['continue']; $this->dialplan_continue = $dialplan['extension']['@attributes']['continue'];
} }
@@ -428,6 +425,8 @@ include "root.php";
} }
//end the transaction //end the transaction
$this->db->commit(); $this->db->commit();
//update the session array
$_SESSION['upgrade']['app_defaults']['dialplans'][$domain['domain_name']][]['dialplan_name'] = $this->dialplan_name;
} }
} }
} }