From b3e48ede70758f159173b579b45f439d32d062eb Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 8 Apr 2019 20:40:12 +0200 Subject: [PATCH] Fix #2204 --- app/Validation/FireflyValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }