mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-24 06:06:06 +03:00
Update OrderManager.php
This commit is contained in:
parent
6790cf7b0e
commit
b22941cc3e
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user