Fixes the blank password issue (#6322)
This commit is contained in:
parent
8ccbf26880
commit
8b3f7752a7
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue