Skip to content
Browse files

Display a news item's categories properly when seeing cached text

  • Loading branch information...
1 parent 5a03bf6 commit 9cb6d057ef3325c9b7f9cd528bf676becc6e90af @subbuss committed Apr 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/views/ftl/display.newsitem.ftl
View
2 src/views/ftl/display.newsitem.ftl
@@ -35,7 +35,7 @@ div#newsItemCats {
<div id="newsItemHdr">
This article was downloaded from: <a href="${newsItem.getURL()}">${newsItem.getURL()}</a>
</div>
-<@s.if test="newsItem.categories">
+<@s.if test="newsItem.leafCategories">
<div id="newsItemCats">
<#-- This article has been classified in the following NewsRack categories [USER : ISSUE : CATEGORY] <br /> -->
This article has been classified in the following NewsRack categories [USER :: CATEGORY] <br />

0 comments on commit 9cb6d05

Please sign in to comment.
Something went wrong with that request. Please try again.