Using Drupal 5.3, I installed head version of quiz module directly from CVS, created a new quiz, created two multiple-choice questions, and then proceeded to take the test. Upon submission of the correct answer, I received this warning:

warning: implode() [function.implode.html]: Bad arguments. in quiz/multichoice.module on line 848.
CommentFileSizeAuthor
#1 multichoice.module-195896.patch598 bytesawong

Comments

awong’s picture

Status: Active » Needs review
StatusFileSize
new598 bytes

In the multichoice.module, there have a array value is setting wrong in the theme_multichoice_feedback. I fixed it by changing $answer['points'] to $answer['is_correct']. It fixed the warning message. And here is the patch.

westwesterson’s picture

Senpai does this do the trick?

senpai’s picture

Status: Needs review » Closed (duplicate)

This might be a duplicate achievement of 198252. The two patches are attacking the same problem, and are both generated by Achieve Internet, but the two guys are working in separate offices. We had a scrum meeting about it late today, and I think we'll address both of these in a single re-rolled patch tomorrow.

Stand by. Things are moving at light speed this week!

kylebrowning’s picture

I posted in 198252 and it seems these are the same issue, but two different files, should we merge the patch?