Révision b858700c
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/commerce/modules/payment/commerce_payment.module | ||
---|---|---|
724 | 724 |
$payment_method['settings'] = array(); |
725 | 725 |
|
726 | 726 |
foreach ($rule->actions() as $action) { |
727 |
if ($action->getElementName() == 'commerce_payment_enable_' . $method_id) { |
|
727 |
if (is_callable(array($action, 'getElementName')) && $action->getElementName() == 'commerce_payment_enable_' . $method_id) {
|
|
728 | 728 |
if (is_array($action->settings['payment_method']) && !empty($action->settings['payment_method']['settings'])) { |
729 | 729 |
$payment_method['settings'] = $action->settings['payment_method']['settings']; |
730 | 730 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules