aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-02 15:43:43 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-02 15:45:03 +0100
commit60c9ee068e5a4345a3906048551a7d04ecda641e (patch)
treedcdbae6212cfd2726618b3b2c49337cc205cabb0 /phpBB/includes/functions_messenger.php
parent8e100f000ed5f67f329e597851d81652b4055a53 (diff)
downloadforums-60c9ee068e5a4345a3906048551a7d04ecda641e.tar
forums-60c9ee068e5a4345a3906048551a7d04ecda641e.tar.gz
forums-60c9ee068e5a4345a3906048551a7d04ecda641e.tar.bz2
forums-60c9ee068e5a4345a3906048551a7d04ecda641e.tar.xz
forums-60c9ee068e5a4345a3906048551a7d04ecda641e.zip
[ticket/14444] Fix fatal error in functions_messenger.php
PHPBB3-14444
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index 0aee9dd3cf..b306b9aa79 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -1733,7 +1733,7 @@ function mail_encode($str, $eol = "\r\n")
*/
function phpbb_mail($to, $subject, $msg, $headers, $eol, &$err_msg)
{
- global $phpbb_root_path, $phpEx;
+ global $config, $phpbb_root_path, $phpEx;
// We use the EOL character for the OS here because the PHP mail function does not correctly transform line endings. On Windows SMTP is used (SMTP is \r\n), on UNIX a command is used...
// Reference: http://bugs.php.net/bug.php?id=15841