mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix #3145
This commit is contained in:
@@ -97,7 +97,7 @@ trait UserNavigation
|
||||
/** @var Transaction $transaction */
|
||||
foreach ($transactions as $transaction) {
|
||||
$type = $transaction->account->accountType->type;
|
||||
if (!in_array($type, $ignore)) {
|
||||
if (!in_array($type, $ignore, true)) {
|
||||
return redirect(route('accounts.edit', [$transaction->account_id]));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user