delete_supermaster.php
changeset 79 0c0aa144356a
parent 71 e1b918eaf69a
child 82 c255196bc447
--- a/delete_supermaster.php	Mon Mar 03 20:32:33 2008 +0000
+++ b/delete_supermaster.php	Mon Mar 10 19:15:59 2008 +0000
@@ -27,10 +27,10 @@
         
 }
 
-if ($_GET["master_ip"]) {
-        if ($_GET["confirm"] == '0') {
+if (isset($_GET["master_ip"])) {
+        if ((isset($_GET['confirm'])) && ($_GET["confirm"] == '0')) {
                 clean_page("index.php");
-        } elseif ($_GET["confirm"] == '1') {
+        } elseif ((isset($_GET["confirm"])) && ($_GET['confirm'] == '1')) {
                 delete_supermaster($_GET["master_ip"]);
                 clean_page("index.php");
         }