Various fixes and cleanup

This commit is contained in:
James Cole
2023-01-29 15:29:42 +01:00
parent 1cbb644d65
commit 413a4f3d9c
276 changed files with 3119 additions and 2894 deletions

View File

@@ -1,4 +1,6 @@
<?php
declare(strict_types=1);
/*
* ValidatesAdministrationAccess.php
* Copyright (c) 2023 james@firefly-iii.org

View File

@@ -46,7 +46,7 @@ trait CurrencyValidation
$transactions = $this->getTransactionsArray($validator);
foreach ($transactions as $index => $transaction) {
if(!is_array($transaction)) {
if (!is_array($transaction)) {
continue;
}
// if foreign amount is present, then the currency must be as well.