[Phpslash-commit] CVS: phpslash-ft/public_html search.php3,1.40,1.41
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-01-24 13:27:13
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv21660/phpslash-ft/public_html Modified Files: search.php3 Log Message: search comments Index: search.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/search.php3,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** search.php3 2001/12/14 22:14:36 1.40 --- search.php3 2002/01/24 13:27:09 1.41 *************** *** 337,344 **** /* Here is the comment search clause */ if ($search_comments) { ! $q .= " OR psl_comment.comment_text LIKE \"%$query%\""; } - - $q .= ") "; } --- 337,345 ---- /* Here is the comment search clause */ if ($search_comments) { ! $q .= " OR psl_comment.comment_text LIKE \"%$query%\")"; ! $q .= " AND story.story_id = psl_comment.story_id "; ! } else { ! $q .= ") "; } } |