mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-03-31 11:56:16 +03:00
Update OrderManager.php
This commit is contained in:
parent
6790cf7b0e
commit
b22941cc3e
3 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
4.1.6
|
4.1.7
|
||||||
|
|
|
@ -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…
Add table
Reference in a new issue