Skip to content

Commit

Permalink
Fix typo in AttributeGroupsController (CO-1815)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Nov 17, 2019
1 parent efbc622 commit 422e5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Controller/AttributeGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class AttributeGroupsController 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,
Expand Down

0 comments on commit 422e5b1

Please sign in to comment.