From d69f8f06118afa8173975d7ea8a84e3c0c739ce8 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 5 Jan 2012 10:28:24 +0000 Subject: - Backported r5713 --- program/steps/mail/func.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'program/steps/mail/func.inc') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 503a56b00..ab0605d46 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1084,15 +1084,13 @@ function rcmail_resolve_base($body) // check for if (preg_match('!()/Ui', array($replacer, 'callback'), $body); - $body = preg_replace_callback('/(url\s*\()(["\']?)([^"\'\)\s]+)(\2)\)/Ui', array($replacer, 'callback'), $body); + $body = $replacer->replace($body); } return $body; } + /** * modify a HTML message that it can be displayed inside a HTML page */ -- cgit v1.2.3