Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'w24_MDL-33670_m21_ofadmin' of git://github.com/skodak/m…

…oodle into MOODLE_21_STABLE
  • Loading branch information...
commit 417f9d311bc92f5af7a2142b54a9f2f23f09245a 2 parents 9a36598 + ea1cb30
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  user/lib.php
View
2  user/lib.php
@@ -310,7 +310,7 @@ function user_get_user_details($user, $course = null) {
}
if ($isadmin
- of $currentuser
+ or $currentuser
or $canviewuseremail // this is a capability in course context, it will be false in usercontext
or $user->maildisplay == 1
or ($user->maildisplay == 2 and enrol_sharing_course($user, $USER))) {
Please sign in to comment.
Something went wrong with that request. Please try again.