Skip to content

Commit 3994c1a

Browse files
Fixed custom Home URL
1 parent 915fcf1 commit 3994c1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Controllers/UserController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function littlelinkhome(request $request)
7777
$userinfo = User::select('name', 'littlelink_name', 'littlelink_description')->where('id', $id)->first();
7878
$information = User::select('name', 'littlelink_name', 'littlelink_description')->where('id', $id)->get();
7979

80-
$links = DB::table('links')->join('buttons', 'buttons.id', '=', 'links.button_id', 'links.custom_css')->select('links.link', 'links.id', 'links.button_id', 'links.title', 'buttons.name')->where('user_id', $id)->orderBy('up_link', 'asc')->orderBy('order', 'asc')->get();
80+
$links = DB::table('links')->join('buttons', 'buttons.id', '=', 'links.button_id')->select('links.link', 'links.id', 'links.button_id', 'links.title', 'links.custom_css', 'links.custom_icon', 'buttons.name')->where('user_id', $id)->orderBy('up_link', 'asc')->orderBy('order', 'asc')->get();
8181

8282
return view('littlelink', ['userinfo' => $userinfo, 'information' => $information, 'links' => $links, 'littlelink_name' => $littlelink_name]);
8383
}
@@ -328,4 +328,4 @@ public function editProfile(request $request)
328328
}
329329
return back();
330330
}
331-
}
331+
}

0 commit comments

Comments
 (0)