Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
fix counting members of premium group
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaruesweg committed Jan 11, 2015
1 parent 6b00364 commit fb8ea36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/lib/acp/page/JCoinsPremiumListPage.class.php
Expand Up @@ -52,7 +52,7 @@ class JCoinsPremiumListPage extends SortablePage {
protected function initObjectList() {
parent::initObjectList();

$this->objectList->sqlSelects .= "(SELECT COUNT(*) FROM wcf" . WCF_N . "_user_to_group_temp WHERE groupID = user_group_premium.premiumGroupID) AS members";
$this->objectList->sqlSelects .= "(SELECT COUNT(*) FROM wcf" . WCF_N . "_user_to_group_temp user_to_group_temp WHERE user_to_group_temp.groupID = user_group_premium.groupID) AS members";
}

/**
Expand Down

0 comments on commit fb8ea36

Please sign in to comment.