mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
#14725 git-svn-id: file:///svn/phpbb/trunk@8179 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ea46faa8ff
commit
2b60a090ee
2 changed files with 13 additions and 1 deletions
|
@ -83,6 +83,10 @@
|
|||
<ul>
|
||||
<li>[Fix] Submitting language changes using acp_language (Bug #14736)</li>
|
||||
<li>[Fix] Fixed wrong bbcode handling for forum rules, forum descriptions and group descriptions</li>
|
||||
<li>[Fix] Fixed faulty form token for acp_ranks (Bug #14736)</li>
|
||||
<li>[Fix] Fixed bbcode uid generation in the phpBB2 converter (Bug #14725)</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<a name="v30rc5"></a><h3>1.ii. Changes since 3.0.RC5</h3>
|
||||
|
|
|
@ -224,9 +224,17 @@ function is_topic_locked($bool)
|
|||
*/
|
||||
function make_uid($timestamp)
|
||||
{
|
||||
return substr(base_convert(unique_id(), 16, 36), 0, BBCODE_UID_LEN);
|
||||
static $last_timestamp, $last_uid;
|
||||
|
||||
if (empty($last_timestamp) || $timestamp != $last_timestamp)
|
||||
{
|
||||
$last_uid = substr(base_convert(unique_id(), 16, 36), 0, BBCODE_UID_LEN);
|
||||
}
|
||||
$last_timestamp = $timestamp;
|
||||
return $last_uid;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Validate a website address
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue