Minor fix for new template vars in WebGUI::Auth::createAccount.
This commit is contained in:
parent
0a6bce357e
commit
526c5d3f70
2 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
7.3.0
|
7.3.0
|
||||||
|
|
||||||
7.2.3
|
7.2.3
|
||||||
|
- fix: minor bug with new template vars in Auth::createAccount
|
||||||
|
|
||||||
7.2.2
|
7.2.2
|
||||||
- fix: Show Debugging option not working
|
- fix: Show Debugging option not working
|
||||||
|
|
|
||||||
|
|
@ -190,8 +190,8 @@ sub createAccount {
|
||||||
'profile.required' => $required };
|
'profile.required' => $required };
|
||||||
|
|
||||||
# Individual field template vars.
|
# Individual field template vars.
|
||||||
my $prefix = 'create.form.profile.'.$field->getId.'.';
|
my $prefix = 'create.form.profile.'.$id.'.';
|
||||||
$vars->{$prefix.'formElement'} = $id;
|
$vars->{$prefix.'formElement'} = $formField;
|
||||||
$vars->{$prefix.'formElement.label'} = $label;
|
$vars->{$prefix.'formElement.label'} = $label;
|
||||||
$vars->{$prefix.'required'} = $required;
|
$vars->{$prefix.'required'} = $required;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue