mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-29 06:37:15 +00:00
fix: only 1 hero can exist and is deleted upon new hero training start
Closes #261
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
Copyright: Travianx Project */
|
||||
|
||||
$oasisarray = $database->getOasis($village->wid);
|
||||
if($_GET['gid']==37 && isset($_GET['del'])){
|
||||
if(isset($_GET['gid']) && $_GET['gid']==37 && isset($_GET['del'])){
|
||||
if($session->access != BANNED){
|
||||
$database->removeOases($_GET['del']);
|
||||
header("Location: build.php?id=".$id."&land");
|
||||
|
||||
Reference in New Issue
Block a user