Skip to content

Commit

Permalink
GraphQl-309: [Checkout] Checkout Agreements
Browse files Browse the repository at this point in the history
  • Loading branch information
naydav committed May 8, 2019
1 parent c1c1dc0 commit 4d7be93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function resolve(
AgreementInterface::CHECKBOX_TEXT => $checkoutAgreement->getCheckboxText(),
AgreementInterface::IS_HTML => $checkoutAgreement->getIsHtml(),
AgreementInterface::MODE =>
AgreementModeOptions::MODE_AUTO === $checkoutAgreement->getMode() ? 'AUTO' : 'MANUAL',
AgreementModeOptions::MODE_AUTO === (int)$checkoutAgreement->getMode() ? 'AUTO' : 'MANUAL',
];
}
return $checkoutAgreementData;
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d7be93

Please sign in to comment.