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

Possible grades notice in Assignment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.1, 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      At line 99 in mod/assignment/index.php the variable $grades is used. However this is set in an if-block a few lines earlier and so can be undefined causing a notice.

      I'm unsure of a suitable default value (otherwise I'd just fix it)

        Attachments

          Activity

            People

            Assignee:
            howardsmiller Howard Miller
            Reporter:
            howardsmiller Howard Miller
            Tester:
            Petr Skoda Petr Skoda
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/May/08