From 5bda77262f40e1d8651e94690e5b1b38f26e2ad1 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 19 Dec 2007 01:52:11 +0000 Subject: [PATCH] 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 --- forms/ConfirmedPasswordField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/ConfirmedPasswordField.php b/forms/ConfirmedPasswordField.php index 28a422548..47a622441 100644 --- a/forms/ConfirmedPasswordField.php +++ b/forms/ConfirmedPasswordField.php @@ -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; }