Skip to content

Commit

Permalink
MDL-21655 Fixing one missed has_coursemanager_role -> has_courseconta…
Browse files Browse the repository at this point in the history
…ct_role
  • Loading branch information
moodler committed Jun 29, 2010
1 parent e30faba commit 1291a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
if (!$currentuser &&
!empty($CFG->forceloginforprofiles) &&
!has_capability('moodle/user:viewdetails', $context) &&
!has_coursemanager_role($userid)) {
!has_coursecontact_role($userid)) {
// Course managers can be browsed at site level. If not forceloginforprofiles, allow access (bug #4366)
$struser = get_string('user');
$PAGE->set_title("$SITE->shortname: $struser");
Expand Down

0 comments on commit 1291a79

Please sign in to comment.