diff --git a/bl-kernel/helpers/text.class.php b/bl-kernel/helpers/text.class.php index 9f7093ea..2a53cebd 100644 --- a/bl-kernel/helpers/text.class.php +++ b/bl-kernel/helpers/text.class.php @@ -116,7 +116,7 @@ class Text { $characteres = "1234567890abcdefghijklmnopqrstuvwxyz!@#%^&*"; $text = ''; for($i=0; $i<$length; $i++) { - $text .= $characteres{rand(0,41)}; + $text .= $characteres[rand(0,41)]; } return $text; }