Permalink
Browse files

Allow students to always see editing teachers in their course

  • Loading branch information...
1 parent 6478428 commit b65fdd3b54748c28ff58936d213e970e3cf623a4 moodler committed Jul 4, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/view.php
View
@@ -43,7 +43,7 @@
if (groupmode($course) == SEPARATEGROUPS and !isteacheredit($course->id)) { // Groups must be kept separate
require_login();
- if (!ismember(mygroupid($course->id), $user->id)) {
+ if (!isteacheredit($course->id, $user->id) and !ismember(mygroupid($course->id), $user->id)) {
print_header("$personalprofile: ", "$personalprofile: ",
"<a href=\"../course/view.php?id=$course->id\">$course->shortname</a> ->
<a href=\"index.php?id=$course->id\">$participants</a>",

0 comments on commit b65fdd3

Please sign in to comment.