Merge branch 'MDL-52649-master' of git://github.com/junpataleta/moodle
This commit is contained in:
+2
-2
@@ -517,12 +517,12 @@ if ($roleid > 0) {
|
||||
$a->role = $rolenames[$roleid];
|
||||
$heading = format_string(get_string('xuserswiththerole', 'role', $a));
|
||||
|
||||
if ($currentgroup and $group) {
|
||||
if ($currentgroup and !empty($group)) {
|
||||
$a->group = $group->name;
|
||||
$heading .= ' ' . format_string(get_string('ingroup', 'role', $a));
|
||||
}
|
||||
|
||||
if ($accesssince) {
|
||||
if ($accesssince && !empty($timeoptions[$accesssince])) {
|
||||
$a->timeperiod = $timeoptions[$accesssince];
|
||||
$heading .= ' ' . format_string(get_string('inactiveformorethan', 'role', $a));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user