When a quiz is set to a limited number of attempts, a user who has already met that number receives the "You have already taken this quiz..." message when attempting to take the quiz again. That's good. But below that message, they also see a quiz results summary (and not even the one that necessarily applies to any of their scores on the quiz). That's bad and confusing.

I tried to dig into the quiz.module code to see where this is happening, but wasn't sure. My temporary workaround was to add print '<style>#quiz_summary{display:none;}</style>'; after line 2887 in the quiz_start_check function, but that's obviously not an ideal solution.

Comments

spazfox created an issue.