Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Fixes
To fix the random member and Limit number of users:
Change line 32+:
$this->Users = $SQL
->Select($Select)
->From($From)
->Join('UserRole r','u.UserID = r.UserID')
->Where($Where)
->Get();
To:
$this->Users = $SQL
->Select($Select)
->From($From)
->Join('UserRole r','u.UserID = r.UserID')
->Where($Where)
->OrderBy($Order)
->Limit($Limit)
->Get();
Andrew
Change line 32+:
$this->Users = $SQL
->Select($Select)
->From($From)
->Join('UserRole r','u.UserID = r.UserID')
->Where($Where)
->Get();
To:
$this->Users = $SQL
->Select($Select)
->From($From)
->Join('UserRole r','u.UserID = r.UserID')
->Where($Where)
->OrderBy($Order)
->Limit($Limit)
->Get();
Andrew
0
Comments
i tried to print_r the returned row values but only admin is really being fetched? but if i enable the photo, all three members are shown?