Commits

luke  committed e4dc439

[project @ 337]
Fixed bug #7 (error in topic feed if topic has no messages)

  • Participants
  • Parent commits e06c11e

Comments (0)

Files changed (1)

File templates/feeds/topics_description.html

 		</ul>
 		{{ obj.poll.outro_text|bb2html }}
 	{% else %}
-	{{ obj.posts.all.0.message|bb2html }}
+		{% ifnotequal obj.post_count 0 %}
+			{{ obj.posts.all.0.message|bb2html }}
+		{% endifnotequal %}
 	{% endif %}
 {% endif %}
 <hr/>