From fa5bab32148e1edc0d3b1200f318809defdbdd79 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 25 Apr 2012 12:27:09 +0200 Subject: [PATCH] Added limit parameter --- wcfsetup/install/files/lib/data/user/UserAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/UserAction.class.php b/wcfsetup/install/files/lib/data/user/UserAction.class.php index 628bfc2a9d..b5fcd3d5d7 100644 --- a/wcfsetup/install/files/lib/data/user/UserAction.class.php +++ b/wcfsetup/install/files/lib/data/user/UserAction.class.php @@ -234,7 +234,7 @@ class UserAction extends AbstractDatabaseObjectAction { $sql = "SELECT userID, username FROM wcf".WCF_N."_user ".$conditionBuilder; - $statement = WCF::getDB()->prepareStatement($sql); + $statement = WCF::getDB()->prepareStatement($sql, 20); /* TODO: add limit parameter */ $statement->execute($conditionBuilder->getParameters()); while ($row = $statement->fetchArray()) { $list[] = array( -- 2.20.1