diff --git a/public-legacy/members.php b/public-legacy/members.php index edafddd..72dd72b 100644 --- a/public-legacy/members.php +++ b/public-legacy/members.php @@ -63,7 +63,7 @@ if($roleId === null) { $roleInfo = $msz->usersCtx->roles->getDefaultRole(); } else { try { - $roleInfo = $roles->getRole($roleId); + $roleInfo = $msz->usersCtx->roles->getRole($roleId); } catch(RuntimeException $ex) { Template::throwError(404); }