Try again. Only add the dialplan for dialplan -> destinations of the action is set
This commit is contained in:
@@ -194,7 +194,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//save the dialplan
|
//save the dialplan
|
||||||
if (count($dialplan["dialplan_details"]) > 0) {
|
if (strlen($dialplan_details[0][dialplan_detail_data]) > 2) {
|
||||||
$orm = new orm;
|
$orm = new orm;
|
||||||
$orm->name('dialplans');
|
$orm->name('dialplans');
|
||||||
if (isset($dialplan["dialplan_uuid"])) {
|
if (isset($dialplan["dialplan_uuid"])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user