From 23aef3271babd4f54f379953b7111ec76e10f9fd Mon Sep 17 00:00:00 2001 From: stekkel Date: Fri, 24 May 2002 16:46:21 +0000 Subject: [PATCH] fixed comp_in_new handling git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2860 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/url_parser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/url_parser.php b/functions/url_parser.php index c1dbcf71..de49b1e8 100644 --- a/functions/url_parser.php +++ b/functions/url_parser.php @@ -56,7 +56,8 @@ function parseEmail (&$body) { if( eregi($Email_RegExp_Match, $body, $regs) ) { if ($compose_new_win == '1') { - $body = str_replace($regs[0], ''.$regs[0].'', $body); + $comp_uri = '../src/compose.php?send_to='.urlencode($regs[0]); + $body = str_replace($regs[0], ''.$regs[0].'', $body); } else { $body = str_replace($regs[0], '