|
|
@ -784,7 +784,7 @@ class mod_attendance_structure { |
|
|
|
$groups = $groupid; |
|
|
|
} |
|
|
|
$users = get_users_by_capability($this->context, 'mod/attendance:canbelisted', |
|
|
|
$userfields.',u.id, u.firstname, u.lastname, u.email', |
|
|
|
$userfields, |
|
|
|
$orderby, $startusers, $usersperpage, $groups, |
|
|
|
'', false, true); |
|
|
|
} else { |
|
|
@ -800,7 +800,7 @@ class mod_attendance_structure { |
|
|
|
$groups = $groupid; |
|
|
|
} |
|
|
|
$users = get_users_by_capability($this->context, 'mod/attendance:canbelisted', |
|
|
|
$userfields.',u.id, u.firstname, u.lastname, u.email', |
|
|
|
$userfields, |
|
|
|
$orderby, '', '', $groups, |
|
|
|
'', false, true); |
|
|
|
} else { |
|
|
|