mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
[ticket/17176] Limit characters for bbcode uid
PHPBB3-17176
This commit is contained in:
@@ -36,7 +36,7 @@ function gen_rand_string($num_chars = 8)
|
||||
$output = '';
|
||||
for ($i = 0; $i < $num_chars; $i++)
|
||||
{
|
||||
$rand = random_int(0, $size-1);
|
||||
$rand = random_int(0, $size - 1);
|
||||
$output .= $range[$rand];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user