Update OrderManager.php

This commit is contained in:
Smiley48 2021-11-30 14:27:10 +03:00 committed by GitHub
parent 463485509e
commit c51bacf8ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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