Author: bantu
Date: Thu Sep 10 09:44:34 2009
New Revision: 10129
Log:
Fix bug #51075 introduced in r10121.
Modified:
branches/phpBB-3_0_0/phpBB/includes/functions.php
Modified: branches/phpBB-3_0_0/phpBB/includes/functions.php
==============================================================================
*** branches/phpBB-3_0_0/phpBB/includes/functions.php (original)
--- branches/phpBB-3_0_0/phpBB/includes/functions.php Thu Sep 10 09:44:34 2009
***************
*** 1703,1710 ****
'WHERE' => "
(
! (tt.mark_time AND t.topic_last_post_time > tt.mark_time) OR
! (tt.mark_time IS NULL AND ft.mark_time AND t.topic_last_post_time > ft.mark_time) OR
(
((tt.mark_time IS NULL AND ft.mark_time IS NULL) OR (tt.mark_time < $last_mark AND ft.mark_time < $last_mark))
AND t.topic_last_post_time > $last_mark
--- 1703,1710 ----
'WHERE' => "
(
! (tt.mark_time IS NOT NULL AND t.topic_last_post_time > tt.mark_time) OR
! (tt.mark_time IS NULL AND ft.mark_time IS NOT NULL AND t.topic_last_post_time > ft.mark_time) OR
(
((tt.mark_time IS NULL AND ft.mark_time IS NULL) OR (tt.mark_time < $last_mark AND ft.mark_time < $last_mark))
AND t.topic_last_post_time > $last_mark
|