Correctly create list of placeholders

This commit is contained in:
Joas Schilling 2014-05-21 14:35:59 +02:00
parent 66f94273c6
commit e20fb37038
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ class Preferences {
array_unshift($queryParams, $key);
array_unshift($queryParams, $app);
$placeholders = (sizeof($chunk) == 50) ? $placeholders_50 : implode(',', array_fill(0, sizeof($users), '?'));
$placeholders = (sizeof($chunk) == 50) ? $placeholders_50 : implode(',', array_fill(0, sizeof($chunk), '?'));
$query = 'SELECT `userid`, `configvalue` '
. ' FROM `*PREFIX*preferences` '