Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.8
-
Fix Version/s: STABLE backlog
-
Component/s: MNet
-
Labels:None
-
Affected Branches:MOODLE_18_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...
Issue Links
| This issue will help resolve: | ||||
| MDL-21260 | General open bugs |
|
|
|
there is one more
(empty($course->category)
around line 225