delete_domain.php
changeset 79 0c0aa144356a
parent 71 e1b918eaf69a
child 82 c255196bc447
--- 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");
         }