From: Tim Starling Date: Tue, 7 Feb 2006 05:24:00 +0000 (+0000) Subject: rc_timestamp >= $cutoff instead of rc_timestamp > $cutoff, so that duplicates may... X-Git-Tag: 1.6.0~362 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=be67dfd2d1b102475b5c76a956babac2d1879c71;p=lhc%2Fweb%2Fwiklou.git rc_timestamp >= $cutoff instead of rc_timestamp > $cutoff, so that duplicates may be shown but entries are never missed. --- diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 7cf712f8ca..c4a6dea6a4 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -139,7 +139,7 @@ function wfSpecialRecentchanges( $par, $specialPage ) { // Perform query $sql2 = "SELECT * FROM $recentchanges FORCE INDEX (rc_timestamp) " . ($uid ? "LEFT OUTER JOIN $watchlist ON wl_user={$uid} AND wl_title=rc_title AND wl_namespace=rc_namespace " : "") . - "WHERE rc_timestamp > '{$cutoff}' {$hidem} " . + "WHERE rc_timestamp >= '{$cutoff}' {$hidem} " . "ORDER BY rc_timestamp DESC"; $sql2 = $dbr->limitResult($sql2, $limit, 0); $res = $dbr->query( $sql2, $fname );