Fixed sql error when searching for articles
authorMarcel Werk <burntime@woltlab.com>
Thu, 13 Feb 2020 19:14:59 +0000 (20:14 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 13 Feb 2020 19:14:59 +0000 (20:14 +0100)
wcfsetup/install/files/lib/data/article/ArticleAction.class.php

index 983f35f7d3c47c669b26b34b14b6dcf3ab1aacf7..e7c80bc22ddf4ec60b4fe5fd9f84ba79c39f0076 100644 (file)
@@ -743,7 +743,7 @@ class ArticleAction extends AbstractDatabaseObjectAction {
         * @return      array   list of matching articles
         */
        public function search() {
-               $sql = "SELECT          DISTINCT articleID
+               $sql = "SELECT          articleID
                        FROM            wcf".WCF_N."_article_content
                        WHERE           title LIKE ?
                                        AND (