Skip to content

Commit

Permalink
Corrected a little mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
iopietro authored Sep 24, 2018
1 parent d59aa8e commit 3b167c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Templates/goldClub/farmlist_addraid.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(isset($_POST['action']) && $_POST['action'] == 'addSlot' && isset($_POST['lid
}

if($_POST['x'] == "" && $_POST['y'] == "" && empty($_POST['target_id'])) $errormsg = "Enter coordinates.";
elseif(($_POST['x'] = "" || $_POST['y'] = "") && empty($_POST['target_id'])) $errormsg = "Enter the correct coordinates.";
elseif(($_POST['x'] == "" || $_POST['y'] == "") && empty($_POST['target_id'])) $errormsg = "Enter the correct coordinates.";
elseif($oasistype == 0 && $vdata == 0) $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.";
Expand Down

0 comments on commit 3b167c6

Please sign in to comment.