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