This commit is contained in:
James Cole
2020-02-23 12:42:28 +01:00
parent 08a6e22556
commit a486d65893
4 changed files with 23 additions and 18 deletions

View File

@@ -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]));
}
}