Skip to content

Commit a40ee7d

Browse files
committed
🐛 Fixing a bug introduced during refactoring
1 parent e04fc3d commit a40ee7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Controllers/QuestionController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public function show(Question $question)
2525
[
2626
'answer_ids' => Answer::get_answer_ids($question),
2727
'recent_questions' => Question::top_relevant(
28-
Question::get_tags($question)->toArray(),
29-
$question
28+
Question::get_tags($question->id)->toArray(),
29+
$question->id
3030
),
3131
'answers' => Answer::get_sorted($question),
3232
'question' => $question,

0 commit comments

Comments
 (0)