fixed PHP notices

This commit is contained in:
Roland Gruber 2010-09-26 11:11:01 +00:00
parent de5c76921b
commit 0755e88263
1 changed files with 2 additions and 2 deletions

View File

@ -116,12 +116,12 @@ if (isset($_GET['type']) && isset($_SESSION['delete_dn'])) {
include 'main_footer.php';
}
if ($_POST['cancel']) {
if (isset($_POST['cancel'])) {
if (isset($_SESSION['delete_dn'])) unset($_SESSION['delete_dn']);
metaRefresh("lists/list.php?type=" . $_POST['type']);
}
if ($_POST['delete']) {
if (isset($_POST['delete'])) {
// Show HTML Page
include 'main_header.php';
echo "<br>\n";