mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-26 20:06:38 +08:00
fix: all location headers need to have exit after them!
This commit is contained in:
@@ -7,8 +7,10 @@ if($_GET['gid']==37 && isset($_GET['del'])){
|
||||
if($session->access != BANNED){
|
||||
$database->removeOases($_GET['del']);
|
||||
header("Location: build.php?id=".$id."&land");
|
||||
exit;
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user