Remove unnecessary parentheses
authorMatthias Schmidt <gravatronics@live.com>
Sun, 31 Jul 2016 07:26:23 +0000 (09:26 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 31 Jul 2016 07:26:23 +0000 (09:26 +0200)
wcfsetup/install/files/lib/page/AbstractArticlePage.class.php

index 1bbbf760e9f1e8af060aeb8c3a76e478a6ffafc2..b8ddc0b22e715ef21bf47f57c5ee8d6111372e09 100644 (file)
@@ -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());