mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/15860] Unique_id() return 16 characters again
PHPBB3-15860
This commit is contained in:
@@ -115,7 +115,7 @@ function gen_rand_string_friendly($num_chars = 8)
|
|||||||
*/
|
*/
|
||||||
function unique_id()
|
function unique_id()
|
||||||
{
|
{
|
||||||
return strtolower(gen_rand_string(32));
|
return strtolower(gen_rand_string(16));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user