Fix Farmlist Bug

This commit is contained in:
NIKO28it
2013-03-13 19:08:34 +01:00
parent c855e7eff7
commit f092b671ba
+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'] != ""){