From: Aaron Schulz Date: Mon, 21 Apr 2008 23:15:17 +0000 (+0000) Subject: Actually color replace on the right prefixed text X-Git-Tag: 1.31.0-rc.0~48144 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=93f97a671252ab3a9ecc7a745345c1786780bd3d;p=lhc%2Fweb%2Fwiklou.git Actually color replace on the right prefixed text --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index b3fe3250da..19f39ddfbc 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -596,7 +596,7 @@ class RecentChange $user = $this->cleanupForIRC( $rc_user_text ); if ( $rc_type == RC_LOG ) { - $logTargetText = $titleObj->getPrefixedText(); + $logTargetText = $this->getTitle()->getPrefixedText(); $comment = $this->cleanupForIRC( str_replace($logTargetText,"\00302$logTargetText\00310",$actionComment) ); $flag = $rc_log_action; } else {