Come to think of it, same case applies here. They're pretty trivial changes that shouldn't affect anything else. Let's get this in as well, shall we?<br><br><a href="http://drupal.org/node/114938">http://drupal.org/node/114938
</a><br><br><div><span class="gmail_quote">On 5/27/07, <b class="gmail_sendername">Josh Koenig</b> <<a href="mailto:josh@chapterthreellc.com">josh@chapterthreellc.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Shameless patch-whoring alert!<br><br>I've been working on a number of projects lately that involve fine-<br>tuning access, and since I got to experience Andy Kirkham's lesson on<br>hook_db_rewrite_sql, I've been loving the power of this system to
<br>handle node access.<br><br>However, in contrast to what the hook documentation says ("For<br>comments, it is cid"), comment.module doesn't contain the critical<br>call to db_rewrite_sql in comment_render(). This patch fixes that:
<br><br><a href="http://drupal.org/node/128165">http://drupal.org/node/128165</a><br><br>I've tested this pretty extensively on 5.1, and re-rolled without<br>errors for 6-dev. My primary application for this is an ad-hoc
<br>private comment system called whisper.module which I'll be releasing<br>in the next month.<br><br>cheers<br>-johs<br><br>Josh Koenig, Partner<br><a href="mailto:josh@chapterthreellc.com">josh@chapterthreellc.com</a>
<br>AIM: chap3josh<br>1-888-822-4273<br><br><br></blockquote></div><br>