Minor fix for new template vars in WebGUI::Auth::createAccount.

This commit is contained in:
Drake 2006-11-23 22:21:50 +00:00
parent 0a6bce357e
commit 526c5d3f70
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
7.3.0
7.2.3
- fix: minor bug with new template vars in Auth::createAccount
7.2.2
- fix: Show Debugging option not working

View file

@ -190,8 +190,8 @@ sub createAccount {
'profile.required' => $required };
# Individual field template vars.
my $prefix = 'create.form.profile.'.$field->getId.'.';
$vars->{$prefix.'formElement'} = $id;
my $prefix = 'create.form.profile.'.$id.'.';
$vars->{$prefix.'formElement'} = $formField;
$vars->{$prefix.'formElement.label'} = $label;
$vars->{$prefix.'required'} = $required;
}