<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>templates/lifeflow/invalid_comment.html</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -40,6 +40,8 @@ def comments(request, entry_id=None, parent_id=None):
     if request.POST.has_key('entry_id'):
         id = int(request.POST['entry_id'])
     # otherwise use the parameter
+    elif entry_id is None:
+        return render_to_response('lifeflow/invalid_comment.html',{},RequestContext(request, {}))
     else:
         id = int(entry_id)
     # TODO: validate ID, throw 500 otherwise</diff>
      <filename>views.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1444ecbcae553dce35a5439cf168e446c76a5cbb</id>
    </parent>
  </parents>
  <author>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </author>
  <url>http://github.com/lethain/lifeflow/commit/9c56e23f99d13d960c1ffe1d00fffcb7eb33d740</url>
  <id>9c56e23f99d13d960c1ffe1d00fffcb7eb33d740</id>
  <committed-date>2008-08-27T10:38:07-07:00</committed-date>
  <authored-date>2008-08-27T10:38:07-07:00</authored-date>
  <message>Added page to display for improper accesses of /comments/create/ to cut down on error messages sent.</message>
  <tree>1191b91da849d79b5b19ab5c359ea7b93f8356b0</tree>
  <committer>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </committer>
</commit>
