Skip to content

Commit 7eee9bc

Browse files
committed
Update UserController.php
1 parent e4f7799 commit 7eee9bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/Http/Controllers/UserController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,8 @@ public function showLink(request $request)
208208
$custom_css = Link::where('id', $linkId)->value('custom_css');
209209
$buttonId = Link::where('id', $linkId)->value('button_id');
210210
$buttonName = Button::where('id', $buttonId)->value('name');
211-
212211

213-
$buttons = Button::select('id', 'name')->orderBy('name', 'asc')->get();
212+
$buttons = Button::select('id', 'name')->orderBy('name', 'asc')->get();
214213

215214
return view('studio/edit-link', ['custom_css' => $custom_css, 'buttonId' => $buttonId, 'buttons' => $buttons, 'link' => $link, 'title' => $title, 'order' => $order, 'id' => $linkId , 'buttonName' => $buttonName]);
216215

0 commit comments

Comments
 (0)