Correctly create list of placeholders
This commit is contained in:
parent
66f94273c6
commit
e20fb37038
|
@ -226,7 +226,7 @@ class Preferences {
|
||||||
array_unshift($queryParams, $key);
|
array_unshift($queryParams, $key);
|
||||||
array_unshift($queryParams, $app);
|
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` '
|
$query = 'SELECT `userid`, `configvalue` '
|
||||||
. ' FROM `*PREFIX*preferences` '
|
. ' FROM `*PREFIX*preferences` '
|
||||||
|
|
Loading…
Reference in New Issue