Was wondering if there has been a bug fix for this at all, or if I'm going to have to do it myself.
Basically, if a student does more than 1 attempt on a quiz, it doesn't print their picture or name for any subsequent attempts, in the results page. See example below:
I suspect the problem is the same one I've come across myself before, in that when you loop through a list of users and try to print them out, Moodle buggers up if there is a duplicate `id` for the user. So you have to replace the `id` field in the array with a unique one and rename the user table `id` to something like `userid`.
Has there been a fix for this at all?