diff options
Diffstat (limited to 'includes/UserTalkUpdate.php')
-rw-r--r-- | includes/UserTalkUpdate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/UserTalkUpdate.php b/includes/UserTalkUpdate.php index 7c61406026e6..10bf9158f891 100644 --- a/includes/UserTalkUpdate.php +++ b/includes/UserTalkUpdate.php @@ -50,7 +50,7 @@ class UserTalkUpdate { $this->mAction = $action; $this->mNamespace = $ns; - $this->mTitle = $title; # str_replace( '_', ' ', $title ); # I do not know, why this was needed . T. Gries 23.11.2004 + $this->mTitle = $title; $this->mSummary = $summary; $this->mMinorEdit = $minoredit; $this->mTimestamp = $timestamp; @@ -62,7 +62,7 @@ class UserTalkUpdate { # If the user talk page is our own, clear the flag # when we are reading it or writing it. - if ( 0 == strcmp( $this->mTitle, $wgUser->getName() ) ) { + if ( 0 == strcmp( str_replace( '_', ' ', $this->mTitle ), $wgUser->getName() ) ) { $wgUser->setNewtalk( 0 ); $wgUser->saveSettings(); } else { |