Fixed little bug with auto-linking screwing up links when both at the end of a message and the signature is attached.

This fix works, but dosan't really solve the problem because I have no idea why it was happening in the first place


git-svn-id: file:///svn/phpbb/trunk@1026 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-09-10 23:07:57 +00:00
parent 09ae82cd77
commit ff898dab57

View file

@ -770,9 +770,11 @@ for($i = 0; $i < $total_posts; $i++)
$message = preg_replace("/\:[0-9a-z\:]+\]/si", "]", $message);
}
$message = make_clickable($message);
if( $postrow[$i]['enable_sig'] )
{
$message .= "<br /><br />_________________<br />" . $user_sig;
$message .= "<br /><br />_________________<br />" . make_clickable($user_sig);
}
if( count($orig_word) )
@ -781,7 +783,7 @@ for($i = 0; $i < $total_posts; $i++)
$message = preg_replace($orig_word, $replacement_word, $message);
}
$message = make_clickable($message);
if($board_config['allow_smilies'] && $postrow[$i]['enable_smilies'])
{