Commit 00dc6b5e authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4754 Fixed the r modifier argument parsing

parent c4d85826
......@@ -550,7 +550,7 @@ class plugin
$length = $args[0];
}
$res = '';
for ($i = 0; $i < $args[0]; ++$i) {
for ($i = 0; $i < $length; ++$i) {
switch ($chars) {
case 'l':
$res .= (string)rand(0, 9);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment