Skip to content

Commit

Permalink
fixed deprecated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
following committed Feb 8, 2013
1 parent 37ee57d commit eef2b96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/util/watchlist/runwatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function process_owner_log($user_id, $log_id)
if ($rLog['text_html'] != 0)
{
$logtext = html_entity_decode($logtext, ENT_COMPAT, 'UTF-8');
$h2t =& new html2text($logtext);
$h2t = new html2text($logtext);
$h2t->set_base_url($absolute_server_URI);
$logtext = $h2t->get_text();
/*
Expand Down Expand Up @@ -253,7 +253,7 @@ function process_log_watch($user_id, $log_id)
if ($rLog['text_html'] != 0)
{
$logtext = html_entity_decode($logtext, ENT_COMPAT, 'UTF-8');
$h2t =& new html2text($logtext);
$h2t = new html2text($logtext);
$h2t->set_base_url($absolute_server_URI);
$logtext = $h2t->get_text();
/*
Expand Down

0 comments on commit eef2b96

Please sign in to comment.