Skip to content

Commit

Permalink
Use null as string
Browse files Browse the repository at this point in the history
  • Loading branch information
moon0326 committed Aug 27, 2021
1 parent e47fe95 commit 9bcef13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ function ( $payment_gateway ) {
'device' => wp_is_mobile() ? 'mobile' : 'desktop',
'guest_checkout' => 'Yes' === $guest_checkout ? 'Yes' : 'No',
'create_account' => 'Yes' === $create_account ? 'Yes' : 'No',
'express_checkout' => null,
'express_checkout' => 'null',
)
);
wc_enqueue_js(
Expand Down Expand Up @@ -347,7 +347,7 @@ function ( $payment_gateway ) {
'device' => wp_is_mobile() ? 'mobile' : 'desktop',
'guest_checkout' => 'Yes' === $guest_checkout ? 'Yes' : 'No',
'create_account' => 'Yes' === $create_account ? 'Yes' : 'No',
'express_checkout' => null,
'express_checkout' => 'null',
)
);
}
Expand Down

0 comments on commit 9bcef13

Please sign in to comment.