in the case of user_access('create multichoice') == TRUE and $teaser == TRUE,
mulcithoice_view doesn't return anything, which can break functions later on that expect a return value.

specifically this occurs when a user has the right access, and the multichoice question
is included in an rss feed (like if its promoted to the front page). More detail is
here, but this should take care of it.

CommentFileSizeAuthor
multichoice_view_patch_0.txt1.34 KBkscheirer

Comments

awong’s picture

Tested, the patch is working.

westwesterson’s picture

Status: Needs review » Fixed

Works great, thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

  • Commit 33efcb8 on 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x by westwesterson:
    multichoice_view sometimes doesnt return a value Issue #146403 by...

  • Commit 33efcb8 on 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x, quiz-pages by westwesterson:
    multichoice_view sometimes doesnt return a value Issue #146403 by...

  • Commit 33efcb8 on 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x, quiz-pages, 2269219 by westwesterson:
    multichoice_view sometimes doesnt return a value Issue #146403 by...

  • Commit 33efcb8 on 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x, 2269219 by westwesterson:
    multichoice_view sometimes doesnt return a value Issue #146403 by...