Fix Farmlist Bug

This commit is contained in:
NIKO28it
2013-03-13 19:08:34 +01:00
parent c855e7eff7
commit f092b671ba
+3 -1
View File
@@ -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");
}
?>
?>