Skip to content

Commit

Permalink
Fixing a warning in import course data - bug #4773
Browse files Browse the repository at this point in the history
  • Loading branch information
mjollnir_ committed Mar 1, 2006
1 parent c902637 commit 7343f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/import/activities/mod.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

if ($teachers = get_records_select('user_teachers', "userid = $USER->id AND editall = 1",'','id,course')) {
foreach ($teachers as $teacher) {
if ($teacher->course != $course->id && $teacher->course != $site->id){
if ($teacher->course != $course->id && $teacher->course != SITEID){
$tcourseids .= $teacher->course.',';
}
}
Expand Down

0 comments on commit 7343f3c

Please sign in to comment.