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

courses I have taught is broken for 1.9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.9.10
    • 1.9.9
    • Backup, Course
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      The patch provided by MDL-19880 produces a regression error on Moodle 1.9. The code there passes '' as the parameter for $fields so you get a query that looks like "SELECT FROM mdl_course WHERE id IN (..."

      The solution should be to change line 32 in course/import/activities/mod.php to

      $taught_courses = get_records_list('course', 'id', $tcourseids, 'sortorder', 'id, fullname');

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              trick Alan Trick
              Nobody Nobody
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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