diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-06-17 11:01:11 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-06-17 11:01:11 +0200 |
commit | 9e50e52fa5c72ee668c0d4c43b15e441f31ada5c (patch) | |
tree | 75f5a90be45a3af6e6585f25f399bc3024da5d2f /phpBB/includes/functions.php | |
parent | f75c400db44387863abbc0f6f2944df546d5a137 (diff) | |
download | forums-9e50e52fa5c72ee668c0d4c43b15e441f31ada5c.tar forums-9e50e52fa5c72ee668c0d4c43b15e441f31ada5c.tar.gz forums-9e50e52fa5c72ee668c0d4c43b15e441f31ada5c.tar.bz2 forums-9e50e52fa5c72ee668c0d4c43b15e441f31ada5c.tar.xz forums-9e50e52fa5c72ee668c0d4c43b15e441f31ada5c.zip |
[ticket/15693] Update tests to reflect changes to gen_rand_string()
PHPBB3-15693
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 3b3218a3aa..270d513a26 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -66,6 +66,8 @@ function set_var(&$result, $var, $type, $multibyte = false) /** * Generates an alphanumeric random string of given length * +* @param int $num_chars Length of random string, defaults to 8 +* * @return string */ function gen_rand_string($num_chars = 8) @@ -78,6 +80,8 @@ function gen_rand_string($num_chars = 8) * Generates a user-friendly alphanumeric random string of given length * We remove 0 and O so users cannot confuse those in passwords etc. * +* @param int $num_chars Length of random string, defaults to 8 +* * @return string */ function gen_rand_string_friendly($num_chars = 8) |