mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Fixed an exploit in the Hero's mansion
With this exploit you can release any conquered oasis
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
Copyright: Travianx Project */
|
||||
|
||||
$oasisarray = $database->getOasis($village->wid);
|
||||
if(isset($_GET['gid']) && $_GET['gid']==37 && isset($_GET['del'])){
|
||||
if(isset($_GET['gid']) && $_GET['gid']==37 && isset($_GET['del']) && $database->getOasisField($_GET['del'], 'owner') == $session->uid){
|
||||
if($session->access != BANNED){
|
||||
$database->removeOases($_GET['del']);
|
||||
header("Location: build.php?id=".$id."&land");
|
||||
|
||||
Reference in New Issue
Block a user