Permalink
Browse files

MDL-13572 fix incorrect value printing

  • Loading branch information...
skodak authored and Sam Hemelryk committed Jan 2, 2012
1 parent 5a72f96 commit fdb2313376451d25d662b8bcb84b4df36a4ab0c1
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 fdb2313

Please sign in to comment.