aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-06-11 00:12:42 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-06-11 00:12:42 +0000
commit13a02f6cc5bcdb0654642135b2981633ac3996b5 (patch)
tree50e01ff1d2a73834c26fb72d229d46b02ec3da52 /phpBB/includes/functions.php
parent056ab23bb65aea43aeb0918e7d7992a8987890a8 (diff)
downloadforums-13a02f6cc5bcdb0654642135b2981633ac3996b5.tar
forums-13a02f6cc5bcdb0654642135b2981633ac3996b5.tar.gz
forums-13a02f6cc5bcdb0654642135b2981633ac3996b5.tar.bz2
forums-13a02f6cc5bcdb0654642135b2981633ac3996b5.tar.xz
forums-13a02f6cc5bcdb0654642135b2981633ac3996b5.zip
my round of bug fixes
git-svn-id: file:///svn/phpbb/trunk@7749 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index fc1e173600..b096c7319e 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1272,7 +1272,7 @@ function update_forum_tracking_info($forum_id, $forum_last_post_time, $f_mark_ti
WHERE t.forum_id = ' . $forum_id . '
AND t.topic_last_post_time > ' . $mark_time_forum . '
AND t.topic_moved_id = 0
- AND tt.topic_id IS NULL
+ AND (tt.topic_id IS NULL OR tt.mark_time < t.topic_last_post_time)
GROUP BY t.forum_id';
$result = $db->sql_query_limit($sql, 1);
$row = $db->sql_fetchrow($result);