mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX ConfirmedPasswordField::setValue has error (fixes #6387)
http://open.silverstripe.org/ticket/6387
This commit is contained in:
parent
d82a47b12f
commit
6a268a8b37
@ -190,7 +190,7 @@ class ConfirmedPasswordField extends FormField {
|
||||
$this->children->fieldByName($this->Name() . '[_PasswordFieldVisible]')->setValue($value['_PasswordFieldVisible']);
|
||||
}
|
||||
} else {
|
||||
if($value || (!$value && !$this->canBeEmpty)) {
|
||||
if($value || (!$value && $this->canBeEmpty)) {
|
||||
$this->value = $value;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user