pull/1/head
root 18 years ago
parent 6480e48fd5
commit 8a8b14a0f4

@ -130,7 +130,7 @@
</tr>
<tr>
<td class="DataTD"><?=_("Points")?>:<br><nobr>(Max <?=maxpoints()?>)</nobr></td>
<td class="DataTD"><input type="text" name="points" value="<?=intval($_POST['points'])?>"></td>
<td class="DataTD"><input type="text" name="points" value=""></td>
</tr>
<tr>
<td class="DataTD"><?=_("WoT Form")?>:</td>

@ -183,6 +183,13 @@
}
}
if($oldid == 6 && $_REQUEST['points'] == "")
{
$id = $oldid;
unset($oldid);
$_SESSION['_config']['error'] = _("You must enter the number of points you wish to allocate to this person.");
}
if($oldid == 6)
{
$max = maxpoints();

Loading…
Cancel
Save