Try again. Only add the dialplan for dialplan -> destinations of the action is set

This commit is contained in:
Mark Crane 2014-05-01 03:48:31 +00:00
parent 3e6ebe7d97
commit f4366abdb0
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
}
//save the dialplan
if (count($dialplan["dialplan_details"]) > 0) {
if (strlen($dialplan_details[0][dialplan_detail_data]) > 2) {
$orm = new orm;
$orm->name('dialplans');
if (isset($dialplan["dialplan_uuid"])) {