mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Referenced the wrong array.
This commit is contained in:
parent
5b83931b01
commit
b96d67a54e
@ -172,7 +172,7 @@ class ImportTransaction
|
|||||||
'opposing-id' => 'opposingId',
|
'opposing-id' => 'opposingId',
|
||||||
];
|
];
|
||||||
if (isset($mapped[$role])) {
|
if (isset($mapped[$role])) {
|
||||||
$field = $basics[$role];
|
$field = $mapped[$role];
|
||||||
$mappedValue = $this->getMappedValue($columnValue);
|
$mappedValue = $this->getMappedValue($columnValue);
|
||||||
$this->$field = $mappedValue;
|
$this->$field = $mappedValue;
|
||||||
Log::debug(sprintf('Going to set the %s. Original value is "%s", mapped value is "%s".', $role, $columnValue->getValue(), $mappedValue));
|
Log::debug(sprintf('Going to set the %s. Original value is "%s", mapped value is "%s".', $role, $columnValue->getValue(), $mappedValue));
|
||||||
|
Loading…
Reference in New Issue
Block a user