Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php |
— | — | @@ -1535,17 +1535,15 @@ |
1536 | 1536 | 'date' => time(), |
1537 | 1537 | 'gateway_txn_id' => $this->getTransactionGatewayTxnID(), |
1538 | 1538 | 'correlation-id' => $this->getCorrelationID(), |
1539 | | - 'payment_method' => $this->getData_Raw('payment_method') |
| 1539 | + 'payment_method' => $this->getData_Raw( 'payment_method' ) |
1540 | 1540 | ); |
1541 | 1541 | |
1542 | 1542 | $raw_data = array(); |
1543 | | - foreach ($stomp_fields as $field){ |
1544 | | - if (!isset($transaction[$field])){ |
1545 | | - $raw_data[$field] = $this->getData_Raw($field); |
1546 | | - } |
| 1543 | + foreach ( $stomp_fields as $field ){ |
| 1544 | + $raw_data[$field] = $this->getData_Raw( $field ); |
1547 | 1545 | } |
1548 | 1546 | |
1549 | | - $transaction = array_merge($transaction, $raw_data); |
| 1547 | + $transaction = array_merge( $raw_data, $transaction ); |
1550 | 1548 | |
1551 | 1549 | try { |
1552 | 1550 | wfRunHooks( $hook, array( $transaction ) ); |