From 2e8f591df35f6f8a6c2659766c12bb527892565d Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 31 Jul 2016 09:26:23 +0200 Subject: [PATCH] Remove unnecessary parentheses --- wcfsetup/install/files/lib/page/AbstractArticlePage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/page/AbstractArticlePage.class.php b/wcfsetup/install/files/lib/page/AbstractArticlePage.class.php index 1bbbf760e9..b8ddc0b22e 100644 --- a/wcfsetup/install/files/lib/page/AbstractArticlePage.class.php +++ b/wcfsetup/install/files/lib/page/AbstractArticlePage.class.php @@ -128,7 +128,7 @@ abstract class AbstractArticlePage extends AbstractPage { FROM wcf" . WCF_N . "_tag_to_object " . $conditionBuilder . " GROUP BY objectID - HAVING COUNT(*) > " . (round(count($this->tags) * ARTICLE_RELATED_ARTICLES_MATCH_THRESHOLD / 100)) . " + HAVING COUNT(*) > " . round(count($this->tags) * ARTICLE_RELATED_ARTICLES_MATCH_THRESHOLD / 100) . " ORDER BY count DESC"; $statement = WCF::getDB()->prepareStatement($sql, ARTICLE_RELATED_ARTICLES); $statement->execute($conditionBuilder->getParameters()); -- 2.20.1