aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-03 21:05:25 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-03 21:05:25 +0000
commit7ab232a45504ef357a19d9ab58dd27c454e12784 (patch)
tree56724a9a8bd34a4a5ad75b24f78be1b299832899 /phpBB/includes/functions_messenger.php
parentb0989c3f4d67e6f9d211a526aeee44686e3bc671 (diff)
downloadforums-7ab232a45504ef357a19d9ab58dd27c454e12784.tar
forums-7ab232a45504ef357a19d9ab58dd27c454e12784.tar.gz
forums-7ab232a45504ef357a19d9ab58dd27c454e12784.tar.bz2
forums-7ab232a45504ef357a19d9ab58dd27c454e12784.tar.xz
forums-7ab232a45504ef357a19d9ab58dd27c454e12784.zip
ok, i am an idiot...
git-svn-id: file:///svn/phpbb/trunk@6548 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index 327ed2955a..a24d7a38a7 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -191,8 +191,8 @@ class messenger
// We add some standard variables we always use, no need to specify them always
$this->vars['U_BOARD'] = (!isset($this->vars['U_BOARD'])) ? generate_board_url() : $this->vars['U_BOARD'];
- $this->vars['EMAIL_SIG'] = (!isset($this->vars['EMAIL_SIG'])) ? str_replace('<br />', "\n", "-- \n" . utf8_html_entity_decode($config['board_email_sig'])) : $this->vars['EMAIL_SIG'];
- $this->vars['SITENAME'] = (!isset($this->vars['SITENAME'])) ? utf8_html_entity_decode($config['sitename']) : $this->vars['SITENAME'];
+ $this->vars['EMAIL_SIG'] = (!isset($this->vars['EMAIL_SIG'])) ? str_replace('<br />', "\n", "-- \n" . htmlspecialchars_decode($config['board_email_sig'])) : $this->vars['EMAIL_SIG'];
+ $this->vars['SITENAME'] = (!isset($this->vars['SITENAME'])) ? htmlspecialchars_decode($config['sitename']) : $this->vars['SITENAME'];
// Escape all quotes, else the eval will fail.
$this->msg = str_replace ("'", "\'", $this->msg);