Skip to content

Commit 36cfbe3

Browse files
committed
Fix type error
1 parent 73c41f9 commit 36cfbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Forum/ThreadsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct()
2929

3030
public function overview()
3131
{
32-
$search = request('search');
32+
$search = (string) request('search');
3333
$threads = $search ? SearchThreads::get($search) : Thread::feedPaginated();
3434

3535
return view('forum.overview', compact('threads', 'search'));

0 commit comments

Comments
 (0)