diff options
author | Ruben Calvo <rubencm@gmail.com> | 2018-10-31 10:41:57 +0000 |
---|---|---|
committer | Ruben Calvo <rubencm@gmail.com> | 2018-10-31 10:41:57 +0000 |
commit | 31703585cb2faf9ca0c2072ebabdc2b3ec62e146 (patch) | |
tree | 18e8cbb991e956912726bc0582139227b3ad99ca /phpBB/includes | |
parent | fa1fd316fe878197db4e0a390722053829e2e317 (diff) | |
download | forums-31703585cb2faf9ca0c2072ebabdc2b3ec62e146.tar forums-31703585cb2faf9ca0c2072ebabdc2b3ec62e146.tar.gz forums-31703585cb2faf9ca0c2072ebabdc2b3ec62e146.tar.bz2 forums-31703585cb2faf9ca0c2072ebabdc2b3ec62e146.tar.xz forums-31703585cb2faf9ca0c2072ebabdc2b3ec62e146.zip |
[ticket/15860] Unique_id() return 16 characters again
PHPBB3-15860
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 79d88fb3a5..99f65a0e92 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -115,7 +115,7 @@ function gen_rand_string_friendly($num_chars = 8) */ function unique_id() { - return strtolower(gen_rand_string(32)); + return strtolower(gen_rand_string(16)); } /** |