Fixed bug in r49227; use raw function now
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 18 May 2009 22:15:12 +0000 (22:15 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 18 May 2009 22:15:12 +0000 (22:15 +0000)
includes/Linker.php

index f3fdb54..05ddcd0 100644 (file)
@@ -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 = " <span class=\"comment\">" . wfMsgHtml( 'rev-deleted-comment' ) . "</span>";
                } else if( $rev->userCan( Revision::DELETED_COMMENT ) ) {