From 0e9a889e4ffa576e026ab841ae1f7e42aa3fed1d Mon Sep 17 00:00:00 2001 From: justin Date: Sun, 9 Apr 2006 13:47:04 +0000 Subject: [PATCH] Schools and students were not being properly numbered in the Registration Summary. Ref: Bug 90 --- admin/registration_receivedforms.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/registration_receivedforms.php b/admin/registration_receivedforms.php index 8f80f838..9aa87b3e 100644 --- a/admin/registration_receivedforms.php +++ b/admin/registration_receivedforms.php @@ -108,10 +108,10 @@ echo mysql_Error(); $studnum=1; while($studentinfo=mysql_fetch_object($q)) { - if($studnum==1) - echo "".i18n("School")."$studentinfo->school "; + echo "".i18n("School %1",array($studnum))."$studentinfo->school "; echo "".i18n("Student %1",array($studnum))."$studentinfo->firstname $studentinfo->lastname "; + $studnum++; } echo "\n";