mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 09:54:17 +02:00
handle duplicate steamids
This commit is contained in:
parent
7f10029cf4
commit
96d67cb993
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ class DemoListProvider extends BaseProvider {
|
||||||
*/
|
*/
|
||||||
public function listProfile(int $page, array $where = [], string $order = 'DESC'): array {
|
public function listProfile(int $page, array $where = [], string $order = 'DESC'): array {
|
||||||
$players = $where['players'];
|
$players = $where['players'];
|
||||||
|
$players = array_unique($players);
|
||||||
unset($where['players']);
|
unset($where['players']);
|
||||||
|
|
||||||
$query = $this->getQueryBuilder();
|
$query = $this->getQueryBuilder();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue