Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'hotfix/2764'

Close #2764
  • Loading branch information...
commit a0cf2ab537998f42adf6798f8e5dfc7319003d76 2 parents d4478e6 + a5f64b3
@weierophinney weierophinney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Math/Rand.php
View
2  library/Zend/Math/Rand.php
@@ -152,7 +152,7 @@ public static function getString($length, $charlist = null, $strong = false)
// charlist is empty or not provided
if (empty($charlist)) {
$numBytes = ceil($length * 0.75);
- $bytes = static::getBytes($numBytes);
+ $bytes = static::getBytes($numBytes, $strong);
return substr(rtrim(base64_encode($bytes), '='), 0, $length);
}
Please sign in to comment.
Something went wrong with that request. Please try again.