[Pkg-owncloud-commits] [owncloud] 105/153: Correctly create list of placeholders

David Prévot taffit at moszumanska.debian.org
Tue May 27 03:05:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit e20fb37038ab78c67701cae0086b78b409364147
Author: Joas Schilling <nickvergessen at gmx.de>
Date:   Wed May 21 14:35:59 2014 +0200

    Correctly create list of placeholders
---
 lib/private/preferences.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/preferences.php b/lib/private/preferences.php
index 62ef908..a4bfc65 100644
--- a/lib/private/preferences.php
+++ b/lib/private/preferences.php
@@ -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` '

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list