From 5d4e8af3eafa85a753e416a0d37ac796bca82de2 Mon Sep 17 00:00:00 2001 From: Partydragen Date: Sat, 4 Jun 2022 19:32:59 +0200 Subject: [PATCH] Update to pr13, Release v2.3.2 --- upload/modules/Members/module.php | 2 +- upload/modules/Members/pages/members.php | 3 ++- upload/modules/Members/pages/panel/members.php | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/upload/modules/Members/module.php b/upload/modules/Members/module.php index 20ea771..a3668a4 100644 --- a/upload/modules/Members/module.php +++ b/upload/modules/Members/module.php @@ -18,7 +18,7 @@ public function __construct($members_language, $pages, $navigation, $cache) { $name = 'Members'; $author = 'Partydragen, Samerton'; - $module_version = '2.3.1'; + $module_version = '2.3.2'; $nameless_version = '2.0.0-pr13'; parent::__construct($this, $name, $author, $module_version, $nameless_version); diff --git a/upload/modules/Members/pages/members.php b/upload/modules/Members/pages/members.php index 68e3488..eb34b81 100755 --- a/upload/modules/Members/pages/members.php +++ b/upload/modules/Members/pages/members.php @@ -43,7 +43,8 @@ $hided_groups = is_array($hided_groups) ? $hided_groups : []; } -$groups = $queries->orderAll('groups', '`order`', 'ASC'); +$group_array = []; +$groups = DB::getInstance()->orderAll('groups', '`order`', 'ASC')->results(); foreach ($groups as $group) { if (in_array($group->id, $hided_groups)) { continue; diff --git a/upload/modules/Members/pages/panel/members.php b/upload/modules/Members/pages/panel/members.php index e9dadb6..cbe6585 100644 --- a/upload/modules/Members/pages/panel/members.php +++ b/upload/modules/Members/pages/panel/members.php @@ -92,7 +92,8 @@ } // Get all groups -$groups = $queries->orderAll('groups', '`order`', 'ASC'); +$group_array = []; +$groups = DB::getInstance()->orderAll('groups', '`order`', 'ASC')->results(); foreach ($groups as $group) { $group_array[] = [ 'id' => $group->id,