Skip to content

Commit

Permalink
Update to pr13, Release v2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
partydragen committed Jun 4, 2022
1 parent b022588 commit 5d4e8af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion upload/modules/Members/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct($members_language, $pages, $navigation, $cache) {

$name = 'Members';
$author = '<a href="https://partydragen.com" target="_blank" rel="nofollow noopener">Partydragen</a>, <a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
$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);
Expand Down
3 changes: 2 additions & 1 deletion upload/modules/Members/pages/members.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion upload/modules/Members/pages/panel/members.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5d4e8af

Please sign in to comment.