mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Expand tests.
This commit is contained in:
@@ -43,7 +43,7 @@ class TransactionType extends Model
|
||||
if (!auth()->check()) {
|
||||
throw new NotFoundHttpException;
|
||||
}
|
||||
$transactionType = self::where('type', $type)->first();
|
||||
$transactionType = self::where('type', ucfirst($type))->first();
|
||||
if (!is_null($transactionType)) {
|
||||
return $transactionType;
|
||||
}
|
||||
|
Reference in New Issue
Block a user