mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
fix param type
This commit is contained in:
parent
3c44aaa9d3
commit
3e53b254d5
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class DemoListProvider extends BaseProvider {
|
||||||
->groupBy('demo_id')
|
->groupBy('demo_id')
|
||||||
->having($query->expr()->eq(
|
->having($query->expr()->eq(
|
||||||
'COUNT(user_id)',
|
'COUNT(user_id)',
|
||||||
$query->createNamedParameter(count($userIds, PDO::PARAM_INT))
|
$query->createNamedParameter(count($userIds), PDO::PARAM_INT)
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
$query->where($query->expr()->eq('user_id',
|
$query->where($query->expr()->eq('user_id',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue