1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Various bug fixes

This commit is contained in:
SecretR
2013-10-14 15:38:57 +03:00
parent 37ee3f132a
commit 2bdcceab9c
9 changed files with 20 additions and 43 deletions

View File

@@ -338,7 +338,7 @@ class UserHandler
*/
public function generateRandomString($pattern, $seed = '')
{
if (empty($pattern))
if (strlen($pattern) < 6)
$pattern = '##....';
$newname = '';