Changed type of join in article search implementation
authorMarcel Werk <burntime@woltlab.com>
Wed, 8 Jun 2016 08:56:05 +0000 (10:56 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 8 Jun 2016 08:56:05 +0000 (10:56 +0200)
wcfsetup/install/files/lib/system/search/ArticleSearch.class.php

index f3af3bb5bc25120a1cd52ad430c5e0974dfc426c..bed9e8c0c66d45369c6ead64f765a8b378f9ec50 100644 (file)
@@ -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 */