Update languages

This commit is contained in:
James Cole
2023-11-19 02:15:04 +01:00
parent 97d739e254
commit ff7219a955
7 changed files with 17 additions and 17 deletions

View File

@@ -782,6 +782,9 @@ class GroupCollector implements GroupCollectorInterface
/** @var array $transaction */
foreach ($group['transactions'] as $transaction) {
$currencyId = (int)$transaction['currency_id'];
if(null === $transaction['amount']) {
throw new FireflyException(sprintf('Amount is NULL for a transaction in group #%d, please investigate.', $groudId));
}
// set default:
if (!array_key_exists($currencyId, $groups[$groudId]['sums'])) {