Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/2764'
Browse files Browse the repository at this point in the history
Close #2764
  • Loading branch information
weierophinney committed Oct 17, 2012
2 parents d4478e6 + a5f64b3 commit a0cf2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Math/Rand.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit a0cf2ab

Please sign in to comment.