From 8385b34222d421a258b934f459e9c6d869f80576 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 28 May 2007 18:46:10 +0000 Subject: do not put mailto: in front of the text if parsing email address git-svn-id: file:///svn/phpbb/trunk@7695 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions.php') diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 8ac603fb11..64d4b1ba37 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2709,8 +2709,8 @@ function make_clickable_callback($type, $whitespace, $url, $relative_url, $class case MAGIC_URL_EMAIL: $tag = 'e'; - $url = 'mailto:' . $url; $text = (strlen($url) > 55) ? substr($url, 0, 39) . ' ... ' . substr($url, -10) : $url; + $url = 'mailto:' . $url; break; } -- cgit v1.2.1