From 251ecbfdd0d76e1508c8138571bef391a04e285c Mon Sep 17 00:00:00 2001 From: Benn Oshrin Date: Thu, 26 Mar 2020 06:54:50 -0400 Subject: [PATCH] Fix typo (NOJIRA) --- app/src/Controller/AttributeMapsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/Controller/AttributeMapsController.php b/app/src/Controller/AttributeMapsController.php index aee98256c..b13bd9ddf 100644 --- a/app/src/Controller/AttributeMapsController.php +++ b/app/src/Controller/AttributeMapsController.php @@ -48,7 +48,7 @@ class AttributeMapsController extends StandardController { public function isAuthorized(Array $user) { $platformAdmin = $this->Authorization->isPlatformAdmin($user['username']); - $mgAdmin = $this->Authorization->isMatchAdmin($user['username'], $this->mgid); + $mgAdmin = $this->Authorization->isMatchAdmin($user['username'], $this->cur_mg->id); $p = [ 'add' => $platformAdmin || $mgAdmin,