Skip to content

Commit 8e9e697

Browse files
author
Stanislav Idolov
authored
ENGCOM-3191: Braintree Paypal Review: check if variable is array when validating request data #18614
2 parents 9ac1a81 + 5910c52 commit 8e9e697

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Braintree/Controller/Paypal

1 file changed

+1
-1
lines changed

app/code/Magento/Braintree/Controller/Paypal/Review.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function execute()
6060
try {
6161
$this->validateQuote($quote);
6262

63-
if ($this->validateRequestData($requestData)) {
63+
if ($requestData && $this->validateRequestData($requestData)) {
6464
$this->quoteUpdater->execute(
6565
$requestData['nonce'],
6666
$requestData['details'],

0 commit comments

Comments
 (0)