From da45109f748a95fb20124c67a677a0ab7a099a68 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 21 Apr 2008 23:10:20 +0000 Subject: [PATCH] Clean this up a bit --- includes/RecentChange.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.20.1