Moodle
  1. Moodle
  2. MDL-27932

Review and fix uses of quiz_feedback_for_grade()

    Details

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

      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

        Activity

        Hide
        Sam Hemelryk added a comment -

        Thanks Eloy - integrated now

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

        Thanks, +1 from me too!

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

        What can I say, passed.

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

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

        Show
        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: