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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.8, 2.3.1
    • Fix Version/s: None
    • Component/s: MNet
    • Labels:
      None
    • Affected Branches:
      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...

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: