mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged revisions 47334 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq ........ r47334 | ischommer | 2007-12-19 14:51:52 +1300 (Wed, 19 Dec 2007) | 1 line fixed typo ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47328 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ce5becdcfd
commit
5bda77262f
@ -255,7 +255,7 @@ JS;
|
||||
|
||||
if(!$this->canBeEmpty) {
|
||||
// both password-fields shouldn't be empty
|
||||
if(!$$value || !$passwordConfirmField->Value()) {
|
||||
if(!$value || !$passwordConfirmField->Value()) {
|
||||
$validator->validationError($name, _t('Form.VALIDATIONPASSWORDSNOTEMPTY', "Passwords can't be empty"), "validation", false);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user