Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
This fixes #599
James Coledd1e9ecb324a
diff --git a/app/Console/Commands/Import.php b/app/Console/Commands/Import.phpindex 91ad4b1b29..a472cd4a55 100644--- a/app/Console/Commands/Import.php+++ b/app/Console/Commands/Import.php@@ -58,9 +58,11 @@ class Import extends Command{Log::debug('Start start-import command');$jobKey = $this->argument('key');- $job = ImportJob::whereKey($jobKey)->first();+ $job = ImportJob::where('key', $jobKey)->first();if (is_null($job)) {$this->error(sprintf('No job found with key "%s"', $jobKey));++ return;}if (!$this->isValid($job)) {Log::error('Job is not valid for some reason. Exit.');