[ticket/11768] Reverted change to bbcode_uid

On the off-chance some other routine expect bbcode_uid to never be empty.

PHPBB3-11768
This commit is contained in:
JoshyPHP 2015-03-14 03:13:04 +01:00
parent b46bf9f02f
commit 37106bae7a

View file

@ -1094,7 +1094,7 @@ class parse_message extends bbcode_firstpass
function parse_message($message = '')
{
// Init BBCode UID
$this->bbcode_uid = '';
$this->bbcode_uid = substr(base_convert(unique_id(), 16, 36), 0, BBCODE_UID_LEN);
$this->message = $message;
}