bug #177
This commit is contained in:
parent
6480e48fd5
commit
8a8b14a0f4
2 changed files with 8 additions and 1 deletions
|
@ -130,7 +130,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="DataTD"><?=_("Points")?>:<br><nobr>(Max <?=maxpoints()?>)</nobr></td>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="DataTD"><?=_("WoT Form")?>:</td>
|
<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)
|
if($oldid == 6)
|
||||||
{
|
{
|
||||||
$max = maxpoints();
|
$max = maxpoints();
|
||||||
|
|
Loading…
Reference in a new issue