aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/feed/topics_active.php
diff options
context:
space:
mode:
authorDaniel Mota <leinad4mind@gmail.com>2017-09-21 17:24:16 +0100
committerDaniel Mota <leinad4mind@gmail.com>2017-09-21 17:24:16 +0100
commitf79b7f189663fcdf1e70331d3129eeb80b45bfb1 (patch)
tree239fe87d79029c804d4178d68c069f2ca29407d4 /phpBB/phpbb/feed/topics_active.php
parentd095e620c1b36d68206139c082881b32a5f6a6e6 (diff)
downloadforums-f79b7f189663fcdf1e70331d3129eeb80b45bfb1.tar
forums-f79b7f189663fcdf1e70331d3129eeb80b45bfb1.tar.gz
forums-f79b7f189663fcdf1e70331d3129eeb80b45bfb1.tar.bz2
forums-f79b7f189663fcdf1e70331d3129eeb80b45bfb1.tar.xz
forums-f79b7f189663fcdf1e70331d3129eeb80b45bfb1.zip
[PHPBB3-14629] round() the log() explicitly to a proper integer
Diffstat (limited to 'phpBB/phpbb/feed/topics_active.php')
-rw-r--r--phpBB/phpbb/feed/topics_active.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/feed/topics_active.php b/phpBB/phpbb/feed/topics_active.php
index 7ae0bde56b..ea9ee97b9d 100644
--- a/phpBB/phpbb/feed/topics_active.php
+++ b/phpBB/phpbb/feed/topics_active.php
@@ -119,7 +119,7 @@ class topics_active extends topic_base
FROM ' . FORUMS_TABLE . '
WHERE forum_type = ' . FORUM_POST . '
AND ' . $this->db->sql_bit_and('forum_options', FORUM_OPTION_FEED_EXCLUDE, '= 0') . '
- AND ' . $this->db->sql_bit_and('forum_flags', log(FORUM_FLAG_ACTIVE_TOPICS, 2), '<> 0');
+ AND ' . $this->db->sql_bit_and('forum_flags', round(log(FORUM_FLAG_ACTIVE_TOPICS, 2)), '<> 0');
$result = $this->db->sql_query($sql);
$forum_ids = array();