From d6b3d7fb1a7a3dca701dfe5cf95a832b3eb055f9 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 4 Oct 2010 14:24:04 -0700 Subject: Fix unescaped dollar signs in double-quoted strings due to localization updates (%1$s etc) --- lib/mail.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/mail.php') diff --git a/lib/mail.php b/lib/mail.php index ab5742e33..a3b3e05b8 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -252,14 +252,14 @@ function mail_subscribe_notify_profile($listenee, $other) // TRANS: Main body of new-subscriber notification e-mail $body = sprintf(_('%1$s is now listening to your notices on %2$s.'."\n\n". - "\t".'%3$s'."\n\n". + "\t".'%3\$s'."\n\n". '%4$s'. '%5$s'. '%6$s'. - "\n".'Faithfully yours,'."\n".'%7$s.'."\n\n". + "\n".'Faithfully yours,'."\n".'%7\$s.'."\n\n". "----\n". "Change your email address or ". - "notification options at ".'%8$s' ."\n"), + "notification options at ".'%8\$s' ."\n"), $long_name, common_config('site', 'name'), $other->profileurl, -- cgit v1.2.3-54-g00ecf