Update OrderManager.php

This commit is contained in:
Smiley48 2022-05-26 14:27:06 +03:00 committed by GitHub
parent 6790cf7b0e
commit b22941cc3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
## v4.1.7
* Fixed notices in ICML generation and while setting delivery type
* Fixed incorrect data check before setting payment data
* Some other minor improvements
## v4.1.6 ## v4.1.6
* Fix for typo in the history routine * Fix for typo in the history routine
* Fix for incorrect protocol in the ICML product image links * Fix for incorrect protocol in the ICML product image links

View File

@ -1 +1 @@
4.1.6 4.1.7

View File

@ -155,7 +155,7 @@ class OrderManager {
} }
foreach ($order_info['payments'] as $payment_data) { foreach ($order_info['payments'] as $payment_data) {
if (isset($payment_data['externalId']) && $payment_data['externalId'] == $orderId) { if (isset($payment_data['externalId'])) {
$payment = $payment_data; $payment = $payment_data;
} }
} }