mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-30 09:34:28 +00:00
Fix Farmlist Bug
This commit is contained in:
@@ -29,6 +29,8 @@ $vdata = $database->getVillage($Wref);
|
||||
$errormsg .= "There is no village on those coordinates.";
|
||||
}elseif($troops == "0"){
|
||||
$errormsg .= "No troops has been selected.";
|
||||
}elseif($database->hasBeginnerProtection($Wref)==1){
|
||||
$errormsg .= "Player under protection.";
|
||||
}else{
|
||||
|
||||
if($_POST['target_id'] != ""){
|
||||
@@ -158,4 +160,4 @@ $vill[$towref] = 1;
|
||||
}else{
|
||||
header("Location: build.php?id=39&t=99");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user