mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-30 09:34:28 +00:00
fix: undefined index
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<tr>
|
||||
<td>Username</td>
|
||||
<td>
|
||||
<input class="fm fm110" type="text" name="name" value="<?php echo $_SESSION['username']?>" maxlength="20">
|
||||
<input class="fm fm110" type="text" name="name" value="<?php echo (isset($_SESSION['username']) ? $_SESSION['username'] : '')?>" maxlength="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user