mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Some code cleanup
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
@@ -161,7 +161,7 @@ class TransactionController extends Controller
|
||||
'tags' => join(',', $journal->tags->pluck('tag')->toArray()),
|
||||
];
|
||||
|
||||
$category = $journal->categories()->first();
|
||||
$category = $journal->categories()->first();
|
||||
if (!is_null($category)) {
|
||||
$preFilled['category'] = $category->name;
|
||||
}
|
||||
|
Reference in New Issue
Block a user