Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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!

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10