From 797251d6b66706b2b8c8c796d850d1b67091a9df Mon Sep 17 00:00:00 2001 From: lorisadmin Date: Wed, 24 Apr 2024 15:20:14 +0000 Subject: [PATCH] errata2 --- modules/examiner/php/examiner.class.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/examiner/php/examiner.class.inc b/modules/examiner/php/examiner.class.inc index 784e5bb43b5..d057b812338 100644 --- a/modules/examiner/php/examiner.class.inc +++ b/modules/examiner/php/examiner.class.inc @@ -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();