From 7dfd5f0b7e04013ccc6c27c5df0eddce0e1b86de Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Fri, 5 Apr 2002 18:11:42 +0000 Subject: - my editor got set up to insert tabs instead of spaces. Cleaning up. --- modules/comment/comment.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 234990611..ff56abfb8 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -565,7 +565,7 @@ function comment_search($keys) { $find = do_search(array("keys" => $keys, "type" => "comment", "select" => "select s.lno as lno, c.nid as nid, c.subject as title, c.timestamp as created, u.uid as uid, u.name as name, s.count as count FROM search_index s, comments c LEFT JOIN users u ON c.uid = u.uid WHERE s.lno = c.cid AND s.type = 'comment' AND s.word like '%'")); - + return $find; } @@ -761,8 +761,8 @@ function comment_update_index() { // the table we are indexing. In this case, we also check against the // last run date for the comments update. return array("last_update" => "comment_cron_last", - "node_type" => "comment", - "select" => "SELECT c.cid as lno, c.subject as text1, c.comment as text2 FROM comments c WHERE timestamp > ". variable_get("comment_cron_last", 1)); + "node_type" => "comment", + "select" => "SELECT c.cid as lno, c.subject as text1, c.comment as text2 FROM comments c WHERE timestamp > ". variable_get("comment_cron_last", 1)); } ?> -- cgit v1.2.3