From 996e69840ca773618c7775b4d83ae0216f2859d1 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 14 Oct 2012 09:31:45 +0200 Subject: [PATCH] Fixes ACPSearchProviderAction --- .../provider/ACPSearchProviderAction.class.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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']); -- 2.20.1