Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6046

Hard-coded course name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Module: tele-TASK
    • Labels:
      None
    • Plugin Version:
      2015120300
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      The commit https://github.com/openHPI/moodle-mod_teletask/commit/6c6e9d3b896338d6552ccd469dda7cd79d67f3e4 introduced the line

      $PAGE->requires->js_init_call('M.mod_teletask.init', array('course' => 2));
      

      So the course id is hard-coded to 2 in all sites using this. It is apparently wrong.

        Attachments

          Activity

            People

            Assignee:
            martin.malchow Martin Malchow
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: