Skip to content

Commit 41aa255

Browse files
author
Chris Hunt
committed
Add missing variable
1 parent a8e4ab4 commit 41aa255

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/Http/Controllers/ItemController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ public function index(Request $request): View
194194
public function create(): View
195195
{
196196
//
197+
$data['item'] = new \App\Item();
197198
$data['tags'] = Item::ofType('tag')->orderBy('title', 'asc')->pluck('title', 'id');
198199
$data['tags']->prepend(__('app.dashboard'), 0);
199200
$data['current_tags'] = '0';

0 commit comments

Comments
 (0)