From 5f2af569ed2ad6289805487de98ddfaf6950bdc4 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 8 Jun 2016 10:56:05 +0200 Subject: [PATCH] Changed type of join in article search implementation --- .../install/files/lib/system/search/ArticleSearch.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/search/ArticleSearch.class.php b/wcfsetup/install/files/lib/system/search/ArticleSearch.class.php index f3af3bb5bc..bed9e8c0c6 100644 --- a/wcfsetup/install/files/lib/system/search/ArticleSearch.class.php +++ b/wcfsetup/install/files/lib/system/search/ArticleSearch.class.php @@ -120,7 +120,7 @@ class ArticleSearch extends AbstractSearchableObjectType { * @inheritDoc */ public function getJoins() { - return 'JOIN wcf'.WCF_N.'_article ON (wcf'.WCF_N.'_article.articleID = '.$this->getTableName().'.articleID)'; + return 'INNER JOIN wcf'.WCF_N.'_article ON (wcf'.WCF_N.'_article.articleID = '.$this->getTableName().'.articleID)'; } /** @noinspection PhpMissingParentCallCommonInspection */ -- 2.20.1