diff --git a/views/topic/abstract.html b/views/topic/abstract.html
index d5b72da..062b9e8 100644
--- a/views/topic/abstract.html
+++ b/views/topic/abstract.html
@@ -32,7 +32,7 @@
<% if (topic.top) { %>
置顶
<% } %>
- <% if (tab === 'all' && topic.tabName && !topic.top) { %>
+ <% if (typeof(tab) !== 'undefined' && tab === 'all' && topic.tabName && !topic.top) { %>
<%= topic.tabName %>
<% } %>