mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 06:01:21 +00:00
Various code cleanup.
This commit is contained in:
@@ -59,7 +59,7 @@ class TransactionCurrency extends Model
|
||||
{
|
||||
if (auth()->check()) {
|
||||
$currencyId = intval($value);
|
||||
$currency = TransactionCurrency::find($currencyId);
|
||||
$currency = self::find($currencyId);
|
||||
if (!is_null($currency)) {
|
||||
return $currency;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user