mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-23 11:37:14 +00:00
Fixed some bugs in the alliance
+Fixed a bug that permitted to create an alliance while already being in an alliance +Fixed a bug that permitted to create an alliance with an embassy of level 3 or lower (or even without an embassy) +Fixed a bug that permitted to set the max numbers of players during the creation of an alliance, by hacking the building id passed in a post request +Fixed some redirect issues
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?php if($session->access!=BANNED){ ?>
|
||||
<table cellpadding="1" cellspacing="1" id="found">
|
||||
<form method="post" action="build.php">
|
||||
<input type="hidden" name="id" value="<?php echo $id ?>">
|
||||
<input type="hidden" name="ft" value="ali1">
|
||||
<thead><tr>
|
||||
<th colspan="2"><?php echo FOUND_ALLIANCE; ?></th>
|
||||
@@ -11,7 +10,6 @@
|
||||
<td class="tag">
|
||||
<input class="text" name="ally1" value="<?php echo $form->getValue("ally1"); ?>" maxlength="15">
|
||||
<span class="error"><?php echo $form->getError("ally1"); ?></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -29,7 +27,6 @@
|
||||
<?php }else{ ?>
|
||||
<table cellpadding="1" cellspacing="1" id="found">
|
||||
<form method="post" action="build.php">
|
||||
<input type="hidden" name="id" value="<?php echo $id ?>">
|
||||
<input type="hidden" name="ft" value="ali1">
|
||||
<thead><tr>
|
||||
<th colspan="2"><?php echo FOUND_ALLIANCE; ?></th>
|
||||
@@ -39,7 +36,6 @@
|
||||
<td class="tag">
|
||||
<input class="text" name="ally1" disabled="disabled" value="<?php echo $form->getValue("ally1"); ?>" maxlength="8">
|
||||
<span class="error"><?php echo $form->getError("ally1"); ?></span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user