mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: undefined index
This commit is contained in:
@@ -74,7 +74,7 @@ if($data['wref'] == $village->wid) {
|
||||
<p class="none"><?php echo CAPITAL; ?></p>
|
||||
<?php
|
||||
} else {
|
||||
if($_GET['confirm'] == '') {
|
||||
if(empty($_GET['confirm'])) {
|
||||
print '<p><a href="?id=' . $building->getTypeField(26) . '&confirm=yes">» '.CHANGE_CAPITAL.'</a></p>';
|
||||
} else {
|
||||
print '<p>Are you sure, that you want to change your capital?<br /><b>You can\'t undo this!</b><br />For security you must enter your password to confirm:<br />
|
||||
|
||||
Reference in New Issue
Block a user