Update of /cvsroot/php-blog/jBlog
In directory sc8-pr-cvs1:/tmp/cvs-serv6760
Modified Files:
jBlog_functions.inc.php
Log Message:
show the author
Index: jBlog_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/jBlog/jBlog_functions.inc.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- jBlog_functions.inc.php 6 Mar 2003 05:42:11 -0000 1.19
+++ jBlog_functions.inc.php 6 Mar 2003 05:44:09 -0000 1.20
@@ -220,7 +220,7 @@
function jBlog_searchEntries($term) {
global $jBlog;
- $querystring = "SELECT id, timestamp, comments, title, body, extended FROM ".$jBlog["dbPrefix"]."entries
+ $querystring = "SELECT id, author, timestamp, comments, title, body, extended FROM ".$jBlog["dbPrefix"]."entries
WHERE MATCH (title, extended, body) AGAINST ('".addslashes($term)."') ORDER BY timestamp DESC";
$query = mysql_db_query($jBlog["dbName"], $querystring);
while($row = mysql_fetch_assoc($query)) {
|