diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-11-02 12:10:19 -0700 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-11-02 12:10:19 -0700 |
commit | 25995e311ca136b64113d78e66a53df8f6a79b81 (patch) | |
tree | e5bb6ac48cb7e98494d47255685d412ed5a5a6d4 /phpBB/includes/functions.php | |
parent | 0a3bb18e93bcb8321e09ca313431ae66f2284e7b (diff) | |
parent | 403da5d38d7feb1fd65e40c9907dd922f4401c90 (diff) | |
download | forums-25995e311ca136b64113d78e66a53df8f6a79b81.tar forums-25995e311ca136b64113d78e66a53df8f6a79b81.tar.gz forums-25995e311ca136b64113d78e66a53df8f6a79b81.tar.bz2 forums-25995e311ca136b64113d78e66a53df8f6a79b81.tar.xz forums-25995e311ca136b64113d78e66a53df8f6a79b81.zip |
Merge pull request #1790 from prototech/ticket/11280
[ticket/11280] Prevent duplicate entry in forums_track table.
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index f6f1c96ac7..35fa785616 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1472,7 +1472,6 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0, $ $sql = 'SELECT forum_id FROM ' . FORUMS_TRACK_TABLE . " WHERE user_id = {$user->data['user_id']} - AND mark_time < $post_time AND " . $db->sql_in_set('forum_id', $forum_id); $result = $db->sql_query($sql); |