Merge pull request #195 from NIKO28it/patch-1

Fix Farmlist Bug
This commit is contained in:
yi12345
2013-03-14 04:31:49 -07:00
+2
View File
@@ -29,6 +29,8 @@ $vdata = $database->getVillage($Wref);
$errormsg .= "There is no village on those coordinates."; $errormsg .= "There is no village on those coordinates.";
}elseif($troops == "0"){ }elseif($troops == "0"){
$errormsg .= "No troops has been selected."; $errormsg .= "No troops has been selected.";
}elseif($database->hasBeginnerProtection($Wref)==1){
$errormsg .= "Player under protection.";
}else{ }else{
if($_POST['target_id'] != ""){ if($_POST['target_id'] != ""){