fix #3417: Interne Links in Watchlist nicht klickbar

This commit is contained in:
Peter Mandrella
2012-07-22 00:02:04 +02:00
committed by following
parent c32b4930c5
commit 86d54b9b1f

View File

@ -198,7 +198,7 @@
function process_owner_log($user_id, $log_id)
{
global $dblink, $logowner_text;
global $dblink, $logowner_text, $absolute_server_URI;
// echo "process_owner_log($user_id, $log_id)\n";
@ -212,6 +212,7 @@ function process_owner_log($user_id, $log_id)
{
$logtext = html_entity_decode($logtext, ENT_COMPAT, 'UTF-8');
$h2t =& new html2text($logtext);
$h2t->set_base_url($absolute_server_URI);
$logtext = $h2t->get_text();
/*
$logtext = html_entity_decode($logtext, ENT_COMPAT, 'UTF-8');
@ -239,7 +240,7 @@ function process_owner_log($user_id, $log_id)
function process_log_watch($user_id, $log_id)
{
global $dblink, $logwatch_text;
global $dblink, $logwatch_text, $absolute_server_URI;
// echo "process_log_watch($user_id, $log_id)\n";
@ -253,6 +254,7 @@ function process_log_watch($user_id, $log_id)
{
$logtext = html_entity_decode($logtext, ENT_COMPAT, 'UTF-8');
$h2t =& new html2text($logtext);
$h2t->set_base_url($absolute_server_URI);
$logtext = $h2t->get_text();
/*
$logtext = html_entity_decode($logtext, ENT_COMPAT, 'UTF-8');