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

Detection of whether a quiz was graded was broken in HEAD

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Quiz
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      The change of database column types in MDL-7308 meant that the places where we tested for whether a quiz had grades by doing $quiz->sumgrades && $quiz->grade no longer worked, since PHP thinks '0.00000' is true.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10