Fixing process_transaction() function with correct values

skala
Julio Montoya 12 years ago
parent e5c33ecf76
commit 12ecd54ac6
  1. 5
      tests/migrate/migration.custom.class.php

@ -1514,11 +1514,12 @@ class MigrationCustom {
static function process_transaction($transaction_info, $save_to_db = true) {
if ($transaction_info) {
$params = array(
'transaction_id' => $transaction_info['id'],
'action' => $transaction_info['ida'],
'item_id' => $transaction_info['id'],
'orig_id' => $transaction_info['id'],
'orig_id' => empty($transaction_info['ido']) ? $transaction_info['ido'] : null,
'branch_id' => $transaction_info['idsede'],
'dest_id' => $transaction_info['id'],
'dest_id' => empty($transaction_info['idd']) ? $transaction_info['idd'] : null,
'status_id' => 0
);
if (!$save_to_db) {

Loading…
Cancel
Save