Skip to content

Commit

Permalink
Better check for missing messages in facebook demo
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarnell committed Apr 25, 2011
1 parent cd94d92 commit e805590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/facebook/templates/modules/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</div>
<div class="body">
<a href="{{ author_url }}" class="actor">{{ escape(post["from"]["name"]) }}</a>
{% if post["message"] %}
{% if "message" in post %}
<span class="message">{{ escape(post["message"]) }}</span>
{% end %}
<div class="meta">
Expand Down

0 comments on commit e805590

Please sign in to comment.