mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Revert "This should at least catch #357"
This reverts commit 5ff7c7ffab
.
This commit is contained in:
parent
5ff7c7ffab
commit
35dd8ac6e6
@ -113,11 +113,7 @@ class CsvImporter implements ImporterInterface
|
||||
$config = $this->job->configuration;
|
||||
|
||||
// hash the row:
|
||||
$json = json_encode($row);
|
||||
if ($json === false) {
|
||||
throw new FireflyException(sprintf('Could not process row %d. Please make sure the uploaded file is encoded as "UTF-8".', $index));
|
||||
}
|
||||
$hash = hash('sha256', $json);
|
||||
$hash = hash('sha256', json_encode($row));
|
||||
$object->importValue('hash', 100, $hash);
|
||||
|
||||
// and this is the point where the specifix go to work.
|
||||
|
Loading…
Reference in New Issue
Block a user