Update the redirect for dialplan_detail_delete.php

This commit is contained in:
Mark Crane 2014-02-20 23:56:45 +00:00
parent 268f9d50f9
commit 57b8a86b72
1 changed files with 6 additions and 7 deletions

View File

@ -71,12 +71,11 @@ else {
}
}
//redirect the user
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"0;url=dialplan_edit.php?id=".$dialplan_uuid."&app_uuid=".$app_uuid."\">\n";
echo "<div align='center'>\n";
echo $text['message-delete']."\n";
echo "</div>\n";
require_once "resources/footer.php";
//save the message to a session variable
$_SESSION['message'] = $text['message-delete'];
//redirect the browser
header("Location: dialplan_edit.php?id=".$dialplan_uuid."&app_uuid=".$app_uuid);
exit;
?>