Some code cleanup

Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
James Cole
2016-03-14 20:53:56 +01:00
parent 114dd5fc2a
commit ababdacf89
33 changed files with 73 additions and 71 deletions

View File

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