fix: undefined index

This commit is contained in:
Martin Ambrus
2017-11-22 10:03:54 +01:00
parent f5e7732278
commit 02dd832932
+1 -1
View File
@@ -24,7 +24,7 @@ include("menu.tpl"); ?>
<form action="spieler.php" method="POST"> <form action="spieler.php" method="POST">
<input type="hidden" name="ft" value="p1" /> <input type="hidden" name="ft" value="p1" />
<input type="hidden" name="uid" value="<?php echo $session->uid; ?>" /> <input type="hidden" name="uid" value="<?php echo $session->uid; ?>" />
<input type="hidden" name="id" value="<?php echo $id; ?>" /> <input type="hidden" name="id" value="<?php echo (isset($id) ? $id : ''); ?>" />
<table cellpadding="1" cellspacing="1" id="edit" ><thead> <table cellpadding="1" cellspacing="1" id="edit" ><thead>
<tr> <tr>