http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14195

--- Comment #6 from Jonathan Druart <jonathan.dru...@biblibre.com> ---
(In reply to Marcel de Rooy from comment #5)
> Small question before passing QA: why do you decrement $size here:
> 
> +    if ( defined $size and $size > 1 ) {
> +        $size--;

Because the regex, in this case, is
    [A-Za-z][A-Za-z0-9_]*
And the max size passed to String::Random is related to the wild card, not the
the size of the complete string.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to