mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #2204
This commit is contained in:
parent
4eb8b1a7da
commit
b3e48ede70
@ -341,7 +341,7 @@ class FireflyValidator extends Validator
|
||||
|
||||
// check transaction type.
|
||||
if ('transaction_type' === $triggerType) {
|
||||
$count = TransactionType::where('type', strtolower($value))->count();
|
||||
$count = TransactionType::where('type', ucfirst($value))->count();
|
||||
|
||||
return 1 === $count;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user