diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-03-14 03:13:04 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:03 +0200 |
commit | 37106bae7a4e3e67143dde9a86f03b3190ed0f4c (patch) | |
tree | dd45bc87e03e9f97ba9106e5098dd52a59e33db0 | |
parent | b46bf9f02f8d1810bdb95d64603632b6fab06960 (diff) | |
download | forums-37106bae7a4e3e67143dde9a86f03b3190ed0f4c.tar forums-37106bae7a4e3e67143dde9a86f03b3190ed0f4c.tar.gz forums-37106bae7a4e3e67143dde9a86f03b3190ed0f4c.tar.bz2 forums-37106bae7a4e3e67143dde9a86f03b3190ed0f4c.tar.xz forums-37106bae7a4e3e67143dde9a86f03b3190ed0f4c.zip |
[ticket/11768] Reverted change to bbcode_uid
On the off-chance some other routine expect bbcode_uid to never be empty.
PHPBB3-11768
-rw-r--r-- | phpBB/includes/message_parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index e4c35f8bca..6af1677b58 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -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; } |