Révision dbb0c974
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/commerce/modules/payment/commerce_payment.module | ||
---|---|---|
454 | 454 |
// Check the order balance and invoke the event. |
455 | 455 |
$balance = commerce_payment_order_balance($order); |
456 | 456 |
|
457 |
if ($balance['amount'] <= 0) { |
|
457 |
if (!empty($balance) && $balance['amount'] <= 0) {
|
|
458 | 458 |
// Invoke the event including a hook of the same name. |
459 | 459 |
rules_invoke_all('commerce_payment_order_paid_in_full', $order, $transaction); |
460 | 460 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules