From: Jens Frank Date: Wed, 19 Jan 2005 22:55:06 +0000 (+0000) Subject: BUG#1366 two-level string substitution X-Git-Tag: 1.5.0alpha1~884 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=8119743253b3ca740f23207ed122dea9e9a92675;p=lhc%2Fweb%2Fwiklou.git BUG#1366 two-level string substitution --- diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 12de41c849..9032eec82a 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -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 ) {