Make the indentation on the dialplan delete more consistent with the rest of the code base.
This commit is contained in:
parent
bb1886ad63
commit
dd51a8237b
|
|
@ -48,11 +48,11 @@ else {
|
|||
$dialplan_uuids = $_REQUEST["id"];
|
||||
$app_uuid = check_str($_REQUEST['app_uuid']);
|
||||
|
||||
//delete the dialplans
|
||||
if (sizeof($dialplan_uuids) > 0) {
|
||||
|
||||
//get dialplan contexts
|
||||
foreach ($dialplan_uuids as $dialplan_uuid) {
|
||||
|
||||
//check each
|
||||
$dialplan_uuid = check_str($dialplan_uuid);
|
||||
|
||||
|
|
@ -112,7 +112,8 @@ if (sizeof($dialplan_uuids) > 0) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
//redirect the browser
|
||||
$_SESSION["message"] = $text['message-delete'].(($dialplans_deleted > 1) ? ": ".$dialplans_deleted : null);
|
||||
header("Location: ".PROJECT_PATH."/app/dialplan/dialplans.php".(($app_uuid != '') ? "?app_uuid=".$app_uuid : null));
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue