Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Revert "This should at least catch #357"
James Cole35dd8ac6e62e
diff --git a/app/Import/Importer/CsvImporter.php b/app/Import/Importer/CsvImporter.phpindex 7c572eafd1..797335cb1d 100644--- a/app/Import/Importer/CsvImporter.php+++ b/app/Import/Importer/CsvImporter.php@@ -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.