Skip to content

Firefly III: a personal finances manager

Fix #2204

James Coleb3e48ede7075
diff --git a/app/Validation/FireflyValidator.php b/app/Validation/FireflyValidator.php
index 49a6d95749..bb36f45cb6 100644
--- a/app/Validation/FireflyValidator.php
+++ b/app/Validation/FireflyValidator.php
@@ -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;
}