mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-02 08:27:15 +00:00
Fixed a lot of bugs/security issues in the market
+Fixed a bug that permitted to send resourcers to himself +Fixed a bug that permitted to send resources to invalid villages +Fixed a bug that permitted to create offerings with 0 resources or invalid resources type +Fixed a bug that permitted to accept offerings of other allies +Fixed a bug that permitted to accept offerings with a too high maxtime +Fixed a bug that permitted to accept offering from the same village +Fixed a bug that permitted to accept offering with too few merchants +Fixed a bug that permitted to accept offerings without the requested resources +Fixed a bug that hid offerings with a valid maxtime +Fixed some bugs relative to errors diplaying +Added some error +Some clean-up
This commit is contained in:
@@ -58,10 +58,8 @@
|
||||
{
|
||||
echo "<p class=\"error2\">".NOT_ENOUGH_MERCHANTS."</p>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<p>Merchants: ".$market->merchantAvail()."/".$market->merchant."</p>";
|
||||
}
|
||||
|
||||
echo "<br /><p>Merchants: ".$market->merchantAvail()."/".$market->merchant."</p>";
|
||||
?>
|
||||
<input type="image" tabindex="8" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" <?php //if(!$market->merchantAvail()) { echo "DISABLED"; }?>/></p>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user