diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb
index f798ba319ce..5cc3387360f 100644
--- a/app/views/topics/show.html.erb
+++ b/app/views/topics/show.html.erb
@@ -51,7 +51,7 @@
<% end %>
- <% if @topic_view.prev_page %>
+ <% if @topic_view.posts&.first && !@topic_view.posts.first.is_first_post? %>