1
0
Fork 0
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:
Robin Appelman 2020-11-28 15:16:42 +01:00
commit 3e53b254d5

View file

@ -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',