Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 2.0
    • Component/s: Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      26371

      Description

      Hi,

      I was wondering why it takes so long to get a quiz-report. It was the picture that overviewgraph.php draws. There is a division by zero in line 60:
      $bandwidth = $quiz->grade / $bands;
      because $bands is by default zero.

      Even when I change maxgrade by hand - I have to do it twice at first time.

      After that, there's no division by zero and everything works fine!

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: