mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-11 18:15:20 +02:00
Recycle signature_bbcode_uid
git-svn-id: file:///svn/phpbb/trunk@1673 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
04d4c27785
commit
ca8ebea07e
@ -667,7 +667,11 @@ if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
|
||||
$sig_length_check = preg_replace("/(\<.*?)(=.*?)( .*?=.*?)?([ \/]?\>)/is", "\\1\\3\\4", $sig_length_check);
|
||||
}
|
||||
|
||||
$signature_bbcode_uid = ( $allowbbcode ) ? make_bbcode_uid() : "";
|
||||
// Only create a new bbcode_uid when there was no uid yet.
|
||||
if($signature_bbcode_uid == '')
|
||||
{
|
||||
$signature_bbcode_uid = ( $allowbbcode ) ? make_bbcode_uid() : "";
|
||||
}
|
||||
$signature = prepare_message($signature, $allowhtml, $allowbbcode, $allowsmilies, $signature_bbcode_uid);
|
||||
|
||||
if( strlen($sig_length_check) > $board_config['max_sig_chars'] )
|
||||
@ -2050,4 +2054,4 @@ if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user