Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In short_answer_score_an_answer() function it is assumed that answer feedback values are always exist, but actually there can be situations when they are not. For example, when saving truefalse or multichoice type scoring form value's, the textareas for answer feedbacks are not exist, neither their values.
Comment | File | Size | Author |
---|---|---|---|
#1 | quiz-undefined-answer-feedback-fix-2266299-1.patch | 1.35 KB | balazswmann |
Comments
Comment #1
balazswmann CreditAttribution: balazswmann commentedI have attached a patch to fix the problem.
Comment #2
balazswmann CreditAttribution: balazswmann commentedComment #3
falcon CreditAttribution: falcon commentedGood job!