From 09da0383bccfb659082a8ca7f2552bce53351445 Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Fri, 9 Oct 2009 20:11:22 +0000 Subject: [PATCH] fixed: links rendered through both html::link and html::a_href get a wrong url --- notifications/inc/class.notifications_email.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notifications/inc/class.notifications_email.inc.php b/notifications/inc/class.notifications_email.inc.php index f00e21218d..e4cd88fb76 100644 --- a/notifications/inc/class.notifications_email.inc.php +++ b/notifications/inc/class.notifications_email.inc.php @@ -137,7 +137,8 @@ class notifications_email implements notifications_iface { $url = ($_SERVER['HTTPS'] || $GLOBALS['egw_info']['server']['enforce_ssl'] ? 'https://' : 'http://'). ($GLOBALS['egw_info']['server']['hostname'] ? $GLOBALS['egw_info']['server']['hostname'] : $_SERVER['HTTP_HOST']).$url; } - $rendered_links[] = $_render_html ? html::a_href($link->text, $url, false, 'target="_blank"') : $url; + $a_href = ''.$link->text.''; + $rendered_links[] = $_render_html ? $a_href : $url; } return $hruler.$newline.lang('Linked entries:').$newline.implode($newline,$rendered_links);