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

use of $this in non-object contexts in mod/lesson/locallib.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Lesson
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      use of $this in non-object contexts in mod/lesson/locallib.php :
      functions lesson_random_question_jump() & lesson_unseen_question_jump() both reference $this->get_sub_pages_of() causing fatal errors.

      this is causing the above mentioned page jump types to fail ..

        Attachments

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            nebgor Aparup Banerjee
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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