Skip to content

Commit 5c5f9d0

Browse files
author
Ievgen Sentiabov
committed
MAGETWO-44608: Credit card form is filled with current date when adding credit card for Braintree
- Removed default exp month and year for credit card
1 parent 02e0378 commit 5c5f9d0

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Braintree/view/frontend/templates/creditcard

1 file changed

+2
-2
lines changed

app/code/Magento/Braintree/view/frontend/templates/creditcard/edit.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
/** @var $block \Magento\Braintree\Block\Creditcard\Management */
1010

1111
echo $block->getLayout()->getMessagesBlock()->getGroupedHtml();
12-
$defaultExpMonth = $block->getTodayMonth();
13-
$defaultExpYear = $block->getTodayYear();
12+
$defaultExpMonth = '';
13+
$defaultExpYear = '';
1414
$countrySpecificCardTypeConfig = $block->getCountrySpecificCardTypeConfig();
1515
$applicableCardTypeConfig = $block->getCcApplicableTypes();
1616
if ($block->isEditMode()) {

0 commit comments

Comments
 (0)