fix: undefined index

This commit is contained in:
Martin Ambrus
2017-10-28 09:35:09 +02:00
parent d9f4d044c6
commit 4678fd273b
+1 -1
View File
@@ -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>