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

new mnet code does not use SITEID to find out if course is site

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.8, 2.3.1
    • None
    • MNet
    • None
    • MOODLE_18_STABLE, MOODLE_23_STABLE

    Description

      around line 117 in course/report/log/lib.php
      if (1 == $cc->course) {
      does not seem to be correct because site course is not guarateed to have id 1

      I am going to commit fix for if($cc->category) which was obsoleted loong ago, correct way is to compare course id with SITEID, the problem is I do not know how to find out the correct SITEID from remote site...

      Attachments

        Issue Links

          Activity

            People

              nobody Nobody
              skodak Petr Skoda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: