This commit is contained in:
James Cole 2019-04-08 20:40:12 +02:00
parent 4eb8b1a7da
commit b3e48ede70

View File

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