Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27932

Review and fix uses of quiz_feedback_for_grade()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Quiz
    • Labels:
      None

      Description

      While reviewing I ended with this notice:

      Notice: Undefined variable: cm in /Users/stronk7/git_moodle/moodle/mod/quiz/renderer.php on line 761

      Tracing down the problem, I detected 3 incorrect uses of the quiz_feedback_for_grade() function. Fixing them make the problem disappear

        Attachments

          Activity

            People

            • Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Integrator:
              Sam Hemelryk
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                1/Jul/11