diff --git a/library/Zend/Math/Rand.php b/library/Zend/Math/Rand.php index 5719f0f6524..b41624365d8 100644 --- a/library/Zend/Math/Rand.php +++ b/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); }