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

Old sites can have $lesson->usegrademax while the correct is $lesson->usemaxgrade

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9, 2.0
    • 1.8.5, 1.9, 2.0
    • Backup, Lesson
    • None
    • Any
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      While it isn't dangerous before 1.9, it causes a NULL to be restored, breaking the restore process.

      Same happens in restore, restoring to $lesson->usemaxgrade while it should be $lesson->usegrademax

      Ciao

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08