Skip to content

Commit

Permalink
errata2
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisadmin committed Apr 24, 2024
1 parent 62ee86c commit 797251d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions modules/examiner/php/examiner.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,7 @@ class Examiner extends \DataFrameworkMenu
$useCertification = ($this->useCertification == 1) ? true : false;

$user = \User::singleton();
if ($user->hasAnyPermission(
[
'superuser',
'examiner_multisite',
]
)
) {
if ($user->hasPermission('examiner_multisite')) {
$sites = \Utility::getSiteList(false);
} else {
$sites = $user->getStudySites();
Expand Down

0 comments on commit 797251d

Please sign in to comment.