mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-28 06:54:06 -04:00
FIX: going to PM directly results in 500 error
regressed 1 day ago.
This commit is contained in:
parent
d46bf2430c
commit
940be8261a
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class TopicView
|
||||||
|
|
||||||
def page_title
|
def page_title
|
||||||
title = @topic.title
|
title = @topic.title
|
||||||
unless @topic.category_id == SiteSetting.uncategorized_category_id
|
if @topic.category_id != SiteSetting.uncategorized_category_id && @topic.category_id && @topic.category
|
||||||
title += " - #{topic.category.name}"
|
title += " - #{topic.category.name}"
|
||||||
end
|
end
|
||||||
title
|
title
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue