From bf434818d7cfac6bf29482d4bb07fc567de2fc90 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 20 Oct 2022 13:16:03 +0000 Subject: fix php warnings --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index 37d185ce6..220844fd1 100644 --- a/include/text.php +++ b/include/text.php @@ -3977,7 +3977,7 @@ function new_token($minlen = 36, $maxlen = 48) { $len = (($minlen === $maxlen) ? $minlen : mt_rand($minlen, $maxlen)); for ($a = 0; $a < $len; $a++) { - $str .= $chars[mt_rand(0, 62)]; + $str .= $chars[mt_rand(0, 61)]; } return $str; -- cgit v1.2.3