aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8936f381c0..886865f645 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -124,7 +124,7 @@ function set_config($config_name, $config_value, $is_dynamic = false)
*/
function gen_rand_string($num_chars = 8)
{
- $rand_str = dss_rand();
+ $rand_str = unique_id();
return substr($rand_str, 0, $num_chars);
}