Update dialplan_outbound_add.php
This commit is contained in:
parent
08faef2e89
commit
f0cc434526
|
|
@ -183,6 +183,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
//prepare to build the array
|
||||
if (strlen(trim($_POST['dialplan_expression'])) > 0) {
|
||||
|
||||
$tmp_array = explode("\n", $_POST['dialplan_expression']);
|
||||
|
|
@ -394,6 +395,7 @@
|
|||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_group'] = '0';
|
||||
}
|
||||
else {
|
||||
$y++;
|
||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_uuid'] = uuid();
|
||||
$array['dialplans'][$x]['dialplan_details'][$y]['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_uuid'] = $dialplan_uuid;
|
||||
|
|
@ -590,7 +592,6 @@
|
|||
} //end for each
|
||||
}
|
||||
|
||||
|
||||
//save to the data
|
||||
$database = new database;
|
||||
$database->app_name = 'outbound_routes';
|
||||
|
|
|
|||
Loading…
Reference in New Issue