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

adding a lesson to the front page produces 'Trying to get property of non-object'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.8
    • 1.8.1
    • Lesson
    • None
    • Moodle 1.8 + (2007021503)
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE

    Description

      Failed to add a lesson to the front page. Offending line is in mod\lesson\mod_form.php 248:

      if ($this->_cm->id != $mod->id)

      I can't any references to the _cm variable so that may be a starting point.

      Attachments

        Activity

          People

            bushido Mark Nielsen
            mscherfling Mark Scherfling
            Nobody Nobody
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jun/07