From 80e76ff15e002db32f050cbe500c7a8913005af3 Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 2 Dec 2024 00:34:00 +0000 Subject: [PATCH] Fixed oversight on memberlist. --- public-legacy/members.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }