Fix withdrawals away from liabilities, cleanup debug logs

This commit is contained in:
James Cole
2023-01-15 06:58:09 +01:00
parent 63a7aad44c
commit 1f9e0b48c9
3 changed files with 55 additions and 20 deletions

View File

@@ -71,7 +71,7 @@ trait ValidatesBulkTransactionQuery
// must have same currency:
// some account types (like expenses) do not have currency, so they have to be omitted
$sourceCurrency = $repository->getAccountCurrency($source);
$destCurrency = $repository->getAccountCurrency($dest);
$destCurrency = $repository->getAccountCurrency($dest);
if (
$sourceCurrency !== null
&& $destCurrency !== null