From: Aaron Schulz Date: Sun, 29 May 2011 19:18:53 +0000 (+0000) Subject: Fix for r89114: handle other DBMSes X-Git-Tag: 1.31.0-rc.0~29848 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=748633a45002b8715b3802a724e5994defd83fd5;p=lhc%2Fweb%2Fwiklou.git Fix for r89114: handle other DBMSes --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index 3960b05555..dda5b470f1 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -505,7 +505,7 @@ class LogEventsList { # Fall back to a blue contributions link $revert = $this->skin->userToolLinks( 1, $title->getDBkey() ); } - if( $row->log_timestamp < '20080129000000' ) { + if( wfTimestamp( TS_MW, $row->log_timestamp ) < '20080129000000' ) { # Suppress $comment from old entries (before 2008-01-29), # not needed and can contain incorrect links $comment = '';