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

PHP notice regarding undefined property displayed when editing a lesson

XMLWordPrintable

    • 5
    • BACKEND Sprint 6

      1. Add a lesson to a course.
      2. Click to edit this lesson.
      3. You will get a PHP notice "Notice: Undefined property: stdClass::$version in /var/www/mstorage/sm/moodle/mod/lesson/mod_form.php on line 321" displaying.

      It seems the global $module variable no longer stores the version.

      This check seems really unnecessary as we know the module version is not going to be less than what is stated. I am just removing it.

            markn Mark Nelson
            markn Mark Nelson
            Ankit Agarwal Ankit Agarwal
            Marina Glancy Marina Glancy
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.