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

get_format_options function uses wrong columnname

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4.8, 2.5.4
    • 2.4.6, 2.5.2, 2.6
    • Course

      The get_format_options function of the course format library refers to the column 'courseid'. However this column does not exist in the table course_sections. It should be 'course'.

      course/format/lib.php line 575

      --array('section' => $section, 'courseid' => $this->courseid), 'id')))
      ++array('section' => $section, 'course' => $this->courseid), 'id')))
      

      Additional course formats like grid and masonry depend heavily on this function.

            rajeshtaneja Rajesh Taneja
            rdebleu Renaat Debleu
            Marina Glancy Marina Glancy
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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