Permalink
Browse files

Better check for missing messages in facebook demo

  • Loading branch information...
1 parent cd94d92 commit e805590e69b9ae62b94b85f8ae90d21b6f47b0be @bdarnell bdarnell committed Apr 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 demos/facebook/templates/modules/post.html
@@ -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">

0 comments on commit e805590

Please sign in to comment.