diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 0ddffd30..1452d109 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -2261,17 +2261,13 @@ function mod_recent_posts($lim) { // Still need to fix this: $po = new Thread($post, '?/', $mod, false); $string = $po->build(true); - $replacement = str_replace('

', - '

/'.$post['board'].'/'.$post['id'].'

', - $string); + $string = '


/'.$post['board'].'/'.$post['id'].'
' . $string; } else { $po = new Post($post, '?/', $mod); $string = $po->build(true); - $replacement = str_replace('
/'.$post['board'].'/'.$post['id'].'

/'.$post['board'].'/'.$post['id'].'
' . $string; } - $body .= $replacement . '
'; + $body .= $string . '
'; } echo Element('page.html', array(