mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
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:
parent
09ae82cd77
commit
ff898dab57
1 changed files with 4 additions and 2 deletions
|
@ -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'])
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue