Skip to content

Commit

Permalink
Fix Card Types
Browse files Browse the repository at this point in the history
  • Loading branch information
gburton committed Dec 10, 2020
1 parent 99e0b3d commit a9416bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/apps/paypal/modules/DP/cfg_params/cards.php
Expand Up @@ -31,7 +31,7 @@ function getSetField() {

foreach ( $this->cards as $key => $value ) {
$input .= '<div class="custom-control custom-checkbox custom-control-inline">';
$input .= '<input type="checkbox" class="custom-control-input" id="cardsSelection' . ucfirst($key) . '" value="' . $key . '"' . (in_array($key, $active) ? ' checked="checked"' : '') . '>';
$input .= '<input type="checkbox" class="custom-control-input" id="cardsSelection' . ucfirst($key) . '" name="card_types[]" value="' . $key . '"' . (in_array($key, $active) ? ' checked="checked"' : '') . '>';
$input .= '<label class="custom-control-label" for="cardsSelection' . ucfirst($key) . '">' . $value . '</label>';
$input .= '</div>';
}
Expand Down

0 comments on commit a9416bf

Please sign in to comment.