mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-29 06:37:15 +00:00
fix: undefined indexes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$ty=(isset($_GET['ty']))? $_GET['ty']:"";
|
||||
if($_REQUEST["cancel"] == "1") {
|
||||
if(isset($_REQUEST["cancel"]) && $_REQUEST["cancel"] == "1") {
|
||||
if($session->access != BANNED){
|
||||
$database->delDemolition($village->wid);
|
||||
header("Location: build.php?gid=15&ty=$ty&cancel=0&demolish=0");
|
||||
|
||||
Reference in New Issue
Block a user