MDL-35726: Use a different form identifier for each form when using "Save and next"
commit0e8aa5027eb7cb2bfa66e55f164c2d3409a8e02b
authorDamyon Wiese <damyon.wiese@netspot.com.au>
Fri, 12 Oct 2012 03:58:11 +0000 (12 11:58 +0800)
committerDamyon Wiese <damyon.wiese@netspot.com.au>
Fri, 12 Oct 2012 04:07:19 +0000 (12 12:07 +0800)
treedaba445fbd58103abeec60f53b89edc0a4c70de9
parentf2c33d0b69a5d49781c0ce21fc4df98e8e2c362d
MDL-35726: Use a different form identifier for each form when using "Save and next"

This prevents a bug where the next student feedback will default to the values that
were on the last submitted form. This is a similar case to having multiple instances
of the same form on the same page - each one needs a unique identifier to distinguish
between them. In this case I include the $rownum which changes as you go to each student
in the list.
mod/assign/gradeform.php