1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-08 00:25:19 +02:00
git-svn-id: file:///svn/phpbb/trunk@7564 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-05-14 05:21:48 +00:00
parent a0acf78139
commit e9b79408b0

View File

@ -2747,7 +2747,7 @@ function make_clickable($text, $server_url = false, $class = 'postlink')
// matches an email@domain type address at the start of a line, or after a space or after what might be a BBCode.
$magic_url_match[] = '/(^|[\n\t (>\]])(' . get_preg_expression('email') . ')/ie';
$magic_url_replace[] = "make_clickable_callback(MAGIC_URL_EMAIL, array('\$1', '\$2'), '')";
$magic_url_replace[] = "make_clickable_callback(MAGIC_URL_EMAIL, '\$1', '\$2', '', '')";
}
return preg_replace($magic_url_match, $magic_url_replace, $text);