delete_supermaster.php
changeset 79 0c0aa144356a
parent 71 e1b918eaf69a
child 82 c255196bc447
equal deleted inserted replaced
78:effde559e0e9 79:0c0aa144356a
    25 {
    25 {
    26         error(ERR_LEVEL_5);
    26         error(ERR_LEVEL_5);
    27         
    27         
    28 }
    28 }
    29 
    29 
    30 if ($_GET["master_ip"]) {
    30 if (isset($_GET["master_ip"])) {
    31         if ($_GET["confirm"] == '0') {
    31         if ((isset($_GET['confirm'])) && ($_GET["confirm"] == '0')) {
    32                 clean_page("index.php");
    32                 clean_page("index.php");
    33         } elseif ($_GET["confirm"] == '1') {
    33         } elseif ((isset($_GET["confirm"])) && ($_GET['confirm'] == '1')) {
    34                 delete_supermaster($_GET["master_ip"]);
    34                 delete_supermaster($_GET["master_ip"]);
    35                 clean_page("index.php");
    35                 clean_page("index.php");
    36         }
    36         }
    37         include_once("inc/header.inc.php");
    37         include_once("inc/header.inc.php");
    38 	$info = get_supermaster_info_from_ip($_GET["master_ip"]);
    38 	$info = get_supermaster_info_from_ip($_GET["master_ip"]);