Schools and students were not being properly numbered in the Registration Summary. Ref: Bug 90

This commit is contained in:
justin 2006-04-09 13:47:04 +00:00
parent ea44b0b49b
commit 0e9a889e4f

View File

@ -108,10 +108,10 @@ echo mysql_Error();
$studnum=1;
while($studentinfo=mysql_fetch_object($q))
{
if($studnum==1)
echo "<tr><td><b>".i18n("School")."</b></td><td>$studentinfo->school </td></tr>";
echo "<tr><td><b>".i18n("School %1",array($studnum))."</b></td><td>$studentinfo->school </td></tr>";
echo "<tr><td><b>".i18n("Student %1",array($studnum))."</b></td><td>$studentinfo->firstname $studentinfo->lastname </td></tr>";
$studnum++;
}
echo "</table>\n";