Added limit parameter
authorMarcel Werk <burntime@woltlab.com>
Wed, 25 Apr 2012 10:27:09 +0000 (12:27 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 25 Apr 2012 10:27:09 +0000 (12:27 +0200)
wcfsetup/install/files/lib/data/user/UserAction.class.php

index 628bfc2a9d43da83866dcf42f1abbb90c6cee829..b5fcd3d5d7235fafc7598396bdb7f0d958ca57f2 100644 (file)
@@ -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(