FIX Use create syntax for CMSMemberLoginForm remember me form

This commit is contained in:
Daniel Hensby 2016-08-07 20:20:20 +01:00
parent 0dcffda0e8
commit 86add3e021
No known key found for this signature in database
GPG Key ID: E38EC566FE29EB66

View File

@ -37,7 +37,7 @@ class CMSMemberLoginForm extends LoginForm {
); );
if(Security::config()->autologin_enabled) { if(Security::config()->autologin_enabled) {
$fields->push(new CheckboxField( $fields->push(CheckboxField::create(
"Remember", "Remember",
_t('Member.REMEMBERME', "Remember me next time?") _t('Member.REMEMBERME', "Remember me next time?")
)); ));