mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-03 08:57:17 +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>
|
<p class="none"><?php echo CAPITAL; ?></p>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
if($_GET['confirm'] == '') {
|
if(empty($_GET['confirm'])) {
|
||||||
print '<p><a href="?id=' . $building->getTypeField(26) . '&confirm=yes">» '.CHANGE_CAPITAL.'</a></p>';
|
print '<p><a href="?id=' . $building->getTypeField(26) . '&confirm=yes">» '.CHANGE_CAPITAL.'</a></p>';
|
||||||
} else {
|
} 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 />
|
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