mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fixed some problems.
This commit is contained in:
@@ -126,9 +126,8 @@ class Importer
|
||||
|
||||
}
|
||||
// post processing and validating.
|
||||
$data = $this->postProcess($data, $row);
|
||||
$result = $this->validateData($data);
|
||||
$journal = null;
|
||||
$data = $this->postProcess($data, $row);
|
||||
$result = $this->validateData($data);
|
||||
if ($result === true) {
|
||||
$journal = $this->createTransactionJournal($data);
|
||||
} else {
|
||||
@@ -274,6 +273,7 @@ class Importer
|
||||
$journal->save();
|
||||
} else {
|
||||
$text = join(',', $errors->all());
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user