mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Would be nice to remove the references as well...
This commit is contained in:
@@ -60,7 +60,7 @@ class TransactionCurrency extends Model
|
||||
*/
|
||||
public static function routeBinder(string $value): TransactionCurrency
|
||||
{
|
||||
if ($guard->check()) {
|
||||
if (auth()->check()) {
|
||||
$currencyId = intval($value);
|
||||
$currency = self::find($currencyId);
|
||||
if (!is_null($currency)) {
|
||||
|
Reference in New Issue
Block a user