Skip to content
Browse files

MDL-13572 fix incorrect value printing

  • Loading branch information...
1 parent 64550fa commit a2c591662bdcca57653a6bd78606dfe1c8ac4363 @skodak skodak committed with Sam Hemelryk Jan 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 message/output/email/message_output_email.php
View
2 message/output/email/message_output_email.php
@@ -75,7 +75,7 @@ function config_form($preferences){
$string = get_string('email','message_email') . ': ' . html_writer::empty_tag('input', $inputattributes);
if (empty($preferences->email_email) && !empty($preferences->userdefaultemail)) {
- $string .= ' ('.get_string('default').': '.$preferences->userdefaultemail.')';
+ $string .= ' ('.get_string('default').': '.s($preferences->userdefaultemail).')';
}
if (!empty($preferences->email_email) && !validate_email($preferences->email_email)) {

0 comments on commit a2c5916

Please sign in to comment.
Something went wrong with that request. Please try again.