mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Various fixes and cleanup
This commit is contained in:
		| @@ -1,4 +1,6 @@ | ||||
| <?php | ||||
|  | ||||
| declare(strict_types=1); | ||||
| /* | ||||
|  * ValidatesAdministrationAccess.php | ||||
|  * Copyright (c) 2023 james@firefly-iii.org | ||||
|   | ||||
| @@ -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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user