mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-02 16:37:15 +00:00
Corrected a little mistake
This commit is contained in:
@@ -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.";
|
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($oasistype == 0 && $vdata == 0) $errormsg = "There is no village on those coordinates.";
|
||||||
elseif($troops == 0) $errormsg = "No troops has been selected.";
|
elseif($troops == 0) $errormsg = "No troops has been selected.";
|
||||||
elseif($database->hasBeginnerProtection($Wref) == 1) $errormsg = "Player under protection.";
|
elseif($database->hasBeginnerProtection($Wref) == 1) $errormsg = "Player under protection.";
|
||||||
|
|||||||
Reference in New Issue
Block a user