Fixed missing limit in user search
authorMarcel Werk <burntime@woltlab.com>
Sun, 25 Dec 2016 18:49:16 +0000 (19:49 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 25 Dec 2016 18:49:16 +0000 (19:49 +0100)
wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php

index 995cee6aa8589aee467a9ac7cd07aedcf160d3ff..e87e9d53f186d3df1cf89b3e93f96451fe4ba96c 100755 (executable)
@@ -251,6 +251,7 @@ class UserSearchForm extends UserOptionListForm {
         */
        protected function search() {
                $this->userList = new UserList();
+               $this->userList->sqlLimit = $this->maxResults;
                
                EventHandler::getInstance()->fireAction($this, 'search');