LSformElement_password : Fixed bug -> parameters of the password generation was not used

This commit is contained in:
Benjamin Renard 2010-11-19 18:12:33 +01:00
parent 8013827839
commit 711f95b446

View file

@ -154,7 +154,7 @@ class LSformElement_password extends LSformElement {
return $return;
}
function generatePassword($param=NULL) {
function generatePassword($params=NULL) {
return generatePassword($params['html_options']['chars'],$params['html_options']['lenght']);
}