From a8fcde14594d5cef076e4b93c30fdd6743db9ec0 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 23 Oct 2020 18:15:37 +0200 Subject: [PATCH] Fix #3985 --- app/Console/Commands/Correction/EnableCurrencies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/Correction/EnableCurrencies.php b/app/Console/Commands/Correction/EnableCurrencies.php index 0d72a81fce..9ac763d49d 100644 --- a/app/Console/Commands/Correction/EnableCurrencies.php +++ b/app/Console/Commands/Correction/EnableCurrencies.php @@ -69,7 +69,7 @@ class EnableCurrencies extends Command // get all from journals: /** @var Collection $journals */ - $journals = TransactionJournal::groupBy('transaction_currency_id')->get(['transaction_currency_id', 'foreign_currency_id']); + $journals = TransactionJournal::groupBy('transaction_currency_id')->get(['transaction_currency_id']); foreach ($journals as $entry) { $found[] = (int) $entry->transaction_currency_id; }