Update dialplan.php

This commit is contained in:
FusionPBX 2019-10-22 20:56:34 -06:00 committed by GitHub
parent 66a8a8e5a8
commit 31cd732191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 3 deletions

View File

@ -403,18 +403,26 @@ include "root.php";
}
}
}
else {
$condition_self_closing_tag = true;
}
//if not a self closing tag then increment the group
if (!$condition_self_closing_tag) {
$group++;
}
//increment the values
$order = $order + 5;
$group = $group + 5;
//increase the row number
$x++;
}
}
//update the session array
$_SESSION['upgrade']['app_defaults']['dialplans'][$domain['domain_name']][]['dialplan_name'] = $dialplan_name;
//increase the row number
$x++;
} //app_uuid exists
} //end foreach $xml_list