BUGFIX: fixed typo in variable name that was causing payment form validation to break

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52991 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Mark Rickerby 2008-04-18 04:28:37 +00:00
parent 0d29142f89
commit ef75418f7b
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class CreditCardField extends TextField {
function jsValidation() {
$formID = $this->form->FormName();
$error = _t('CreditCardField.VALIDATIONJS1', 'Please ensure you have entered the');
$error1 = _t('CreditCardField.VALIDATIONJS1', 'Please ensure you have entered the');
$error2 = _t('CreditCardField.VALIDATIONJS2', 'credit card number correctly.');
$first = _t('CreditCardField.FIRST', 'first');
$second = _t('CreditCardField.SECOND', 'second');