mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 10:34:31 +00:00
fix bug: banned player can finish builds with gold
This commit is contained in:
@@ -16,8 +16,13 @@
|
||||
<?php
|
||||
|
||||
if($session->gold >= 2) {
|
||||
if($session->access!=BANNED){
|
||||
?> <a href="?buildingFinish=1" onclick="return confirm('Finish all construction and research orders in this village immediately for 2 Gold?');" title="Finish all construction and research orders in this village immediately for 2 Gold?"><img class="clock" alt="Finish all construction and research orders in this village immediately for 2 Gold?" src="img/x.gif"/></a>
|
||||
<?php
|
||||
}else{
|
||||
?> <a href="banned.php" onclick="return confirm('Finish all construction and research orders in this village immediately for 2 Gold?');" title="Finish all construction and research orders in this village immediately for 2 Gold?"><img class="clock" alt="Finish all construction and research orders in this village immediately for 2 Gold?" src="img/x.gif"/></a>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</th>
|
||||
|
||||
Reference in New Issue
Block a user