mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
0d29142f89
commit
ef75418f7b
@ -29,7 +29,7 @@ class CreditCardField extends TextField {
|
|||||||
|
|
||||||
function jsValidation() {
|
function jsValidation() {
|
||||||
$formID = $this->form->FormName();
|
$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.');
|
$error2 = _t('CreditCardField.VALIDATIONJS2', 'credit card number correctly.');
|
||||||
$first = _t('CreditCardField.FIRST', 'first');
|
$first = _t('CreditCardField.FIRST', 'first');
|
||||||
$second = _t('CreditCardField.SECOND', 'second');
|
$second = _t('CreditCardField.SECOND', 'second');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user