diff -r effde559e0e9 -r 0c0aa144356a delete_domain.php --- a/delete_domain.php Mon Mar 03 20:32:33 2008 +0000 +++ b/delete_domain.php Mon Mar 10 19:15:59 2008 +0000 @@ -27,10 +27,10 @@ } -if ($_GET["id"]) { - if ($_GET["confirm"] == '0') { +if (isset($_GET["id"])) { + if ((isset($_GET["confirm"])) && ($_GET['confirm'] == '0')) { clean_page("index.php"); - } elseif ($_GET["confirm"] == '1') { + } elseif ((isset($_GET["confirm"])) && ($_GET['confirm'] == '1')) { delete_domain($_GET["id"]); clean_page("index.php"); }