Fixes the blank password issue (#6322)

This commit is contained in:
Luis Daniel Lucio Quiroz 2022-03-09 17:11:30 -05:00 committed by GitHub
parent 8ccbf26880
commit 8b3f7752a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2181,8 +2181,8 @@ function number_pad($number,$n) {
//convert bytes to readable human format
if (!function_exists('random_int')) {
function random_int() {
return rand ();
function random_int($min, $max) {
return rand ($min, $max);
}
}