aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2018-08-08 20:36:16 +0200
committerRubén Calvo <rubencm@gmail.com>2018-08-08 20:36:16 +0200
commitced8599e306fdbc5e496b3119ef46c4c27e3e335 (patch)
treef3753b420bf0de0272041043896223aa7d84b01f /phpBB/includes/functions.php
parentffcfec044b73bfa1b5522499b82b074ee99b3869 (diff)
downloadforums-ced8599e306fdbc5e496b3119ef46c4c27e3e335.tar
forums-ced8599e306fdbc5e496b3119ef46c4c27e3e335.tar.gz
forums-ced8599e306fdbc5e496b3119ef46c4c27e3e335.tar.bz2
forums-ced8599e306fdbc5e496b3119ef46c4c27e3e335.tar.xz
forums-ced8599e306fdbc5e496b3119ef46c4c27e3e335.zip
[ticket/15723] Rewrite unique_id too
PHPBB3-15723
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 51f5bc0fd5..1457888c9f 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 bin2hex(random_bytes(8));
+ return gen_rand_string(32);
}
/**