diff --git a/user/index.php b/user/index.php index eaf98ff4e7e..ef82d707350 100644 --- a/user/index.php +++ b/user/index.php @@ -1002,7 +1002,7 @@ } - if ($bulkoperations && $totalcount > ($perpage*3)) { + if (has_capability('moodle/site:viewparticipants', $context) && $totalcount > ($perpage*3)) { echo '
'.get_string('search').': '."\n"; echo ' 
'."\n"; }