Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iverok committed Jun 8, 2020
1 parent afbe2a4 commit ddfbb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VippsKCSupport.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public static function reset_default_payment_method ($orderid, $post_data, $orde
public static function maybe_remove_other_gateway_button() {
$kco_settings = get_option( 'woocommerce_kco_settings' );
$disable_button = isset( $kco_settings['epm_vipps_disable_button'] ) ? $kco_settings['epm_vipps_disable_button'] : 'no';
$remove = ('yes' === $disable_button)
$remove = ('yes' === $disable_button);

// Can't do these IOK 2020-05-29
$remove = $remove || (class_exists( 'WC_Subscriptions_Cart' ) && WC_Subscriptions_Cart::cart_contains_subscription());
Expand Down

0 comments on commit ddfbb08

Please sign in to comment.