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

Review and fix uses of quiz_feedback_for_grade()

    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

        Gliffy Diagrams

          Activity

          Hide
          samhemelryk Sam Hemelryk added a comment -

          Thanks Eloy - integrated now

          Show
          samhemelryk Sam Hemelryk added a comment - Thanks Eloy - integrated now
          Hide
          timhunt Tim Hunt added a comment -

          Thanks, +1 from me too!

          Show
          timhunt Tim Hunt added a comment - Thanks, +1 from me too!
          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          What can I say, passed.

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - What can I say, passed.
          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          U.P.S.T.R.E.A.M

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - U.P.S.T.R.E.A.M

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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