From d9c3c58e21ad8be55afb9c343cf83aba986d4651 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 18 May 2009 22:15:12 +0000 Subject: [PATCH 1/1] Fixed bug in r49227; use raw function now --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index f3fdb549b3..05ddcd02e5 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1384,7 +1384,7 @@ class Linker { * @return string HTML */ function revComment( Revision $rev, $local = false, $isPublic = false ) { - if( $rev->getComment() == "" ) return ""; + if( $rev->getRawComment() == "" ) return ""; if( $rev->isDeleted( Revision::DELETED_COMMENT ) && $isPublic ) { $block = " " . wfMsgHtml( 'rev-deleted-comment' ) . ""; } else if( $rev->userCan( Revision::DELETED_COMMENT ) ) { -- 2.20.1