diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-07-14 10:49:23 -0400 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-07-14 10:49:23 -0400 |
commit | 405b5e54f6e97f70417af38c27f8fa2fb4062c3e (patch) | |
tree | 16a2b5e99a1cee6ba8f3d67a13e8acd2abd1bc29 /phpBB | |
parent | 3d9e57d0cec8f6d7883f8de1e461580047d18709 (diff) | |
download | forums-405b5e54f6e97f70417af38c27f8fa2fb4062c3e.tar forums-405b5e54f6e97f70417af38c27f8fa2fb4062c3e.tar.gz forums-405b5e54f6e97f70417af38c27f8fa2fb4062c3e.tar.bz2 forums-405b5e54f6e97f70417af38c27f8fa2fb4062c3e.tar.xz forums-405b5e54f6e97f70417af38c27f8fa2fb4062c3e.zip |
[ticket/11702] Fix forum_posts left over for link-click counts in viewforum.php
PHPBB3-11702
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/viewforum.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 06af674ee6..5a59e021b3 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -105,7 +105,7 @@ if ($forum_data['forum_type'] == FORUM_LINK && $forum_data['forum_link']) if ($forum_data['forum_flags'] & FORUM_FLAG_LINK_TRACK) { $sql = 'UPDATE ' . FORUMS_TABLE . ' - SET forum_posts = forum_posts + 1 + SET forum_posts_approved = forum_posts_approved + 1 WHERE forum_id = ' . $forum_id; $db->sql_query($sql); } |