- use the correct limit

This commit is contained in:
dave 2008-01-23 18:42:35 +00:00
parent 3f3475d407
commit b14ec011d4

View File

@ -52,23 +52,23 @@ function reports_students_award_selfnom_num(&$report, $text, $n)
}
function reports_students_award_selfnom_1(&$report, $text)
{
return reports_students_award_selfnom_num(&$report, $text, 1);
return reports_students_award_selfnom_num(&$report, $text, 0);
}
function reports_students_award_selfnom_2(&$report, $text)
{
return reports_students_award_selfnom_num(&$report, $text, 2);
return reports_students_award_selfnom_num(&$report, $text, 1);
}
function reports_students_award_selfnom_3(&$report, $text)
{
return reports_students_award_selfnom_num(&$report, $text, 3);
return reports_students_award_selfnom_num(&$report, $text, 2);
}
function reports_students_award_selfnom_4(&$report, $text)
{
return reports_students_award_selfnom_num(&$report, $text, 4);
return reports_students_award_selfnom_num(&$report, $text, 3);
}
function reports_students_award_selfnom_5(&$report, $text)
{
return reports_students_award_selfnom_num(&$report, $text, 5);
return reports_students_award_selfnom_num(&$report, $text, 4);
}