From: Aaron Schulz Date: Mon, 21 Apr 2008 23:10:20 +0000 (+0000) Subject: Clean this up a bit X-Git-Tag: 1.31.0-rc.0~48145 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=da45109f748a95fb20124c67a677a0ab7a099a68;p=lhc%2Fweb%2Fwiklou.git Clean this up a bit --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 149311c832..b3fe3250da 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -596,7 +596,8 @@ class RecentChange $user = $this->cleanupForIRC( $rc_user_text ); if ( $rc_type == RC_LOG ) { - $comment = $this->cleanupForIRC( str_replace($titleObj->getPrefixedText(),"\00302$title\00310",$actionComment) ); + $logTargetText = $titleObj->getPrefixedText(); + $comment = $this->cleanupForIRC( str_replace($logTargetText,"\00302$logTargetText\00310",$actionComment) ); $flag = $rc_log_action; } else { $comment = $this->cleanupForIRC( $rc_comment );