BUG#1366 two-level string substitution
authorJens Frank <jeluf@users.mediawiki.org>
Wed, 19 Jan 2005 22:55:06 +0000 (22:55 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Wed, 19 Jan 2005 22:55:06 +0000 (22:55 +0000)
includes/UserMailer.php

index 12de41c..9032eec 100644 (file)
@@ -268,6 +268,8 @@ class EmailNotification {
                        # clear $OLDID placeholder in the message template
                        $keys['$OLDID']   = '';
                }
+               
+               $body = strtr( $body, $keys ); 
        
                $pagetitle = $article->mTitle;
                if( $article->mNamespace != NS_MAIN ) {