From: Matthias Schmidt Date: Sun, 14 Oct 2012 07:31:45 +0000 (+0200) Subject: Fixes ACPSearchProviderAction X-Git-Tag: 2.0.0_Beta_1~870^2^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=996e69840ca773618c7775b4d83ae0216f2859d1;p=GitHub%2FWoltLab%2FWCF.git Fixes ACPSearchProviderAction --- diff --git a/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php b/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php index 37a3faf2a4..1854b2e2e5 100644 --- a/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php +++ b/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php @@ -1,6 +1,7 @@ parameters['data']['searchString'] = (isset($this->parameters['data']['searchString'])) ? StringUtil::trim($this->parameters['data']['searchString']) : ''; if (empty($this->parameters['data']['searchString'])) { throw new UserInputException('searchString'); @@ -27,11 +28,9 @@ class ACPSearchProviderAction extends AbstractDatabaseObjectAction { } /** - * Returns the data of the searched acp elements. - * - * @return array + * @see wcf\data\ISearchAction::getSearchResultList() */ - public function getList() { + public function getSearchResultList() { $data = array(); $results = ACPSearchHandler::getInstance()->search($this->parameters['data']['searchString']);