From: Aaron Schulz Date: Mon, 18 May 2009 22:15:12 +0000 (+0000) Subject: Fixed bug in r49227; use raw function now X-Git-Tag: 1.31.0-rc.0~41750 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=d9c3c58e21ad8be55afb9c343cf83aba986d4651;p=lhc%2Fweb%2Fwiklou.git Fixed bug in r49227; use raw function now --- 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 ) ) {