From: Daniel Veillard Date: Fri, 24 Feb 2006 21:22:21 +0000 (+0000) Subject: Tiny fix, Daniel X-Git-Tag: LIBVIRT_0_1_0~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=868f93ba8ec162c2a62ed42e0016ce6c07a2a7ea;p=thirdparty%2Flibvirt.git Tiny fix, Daniel --- diff --git a/docs/search.php b/docs/search.php index 905054e969..88de549c1b 100644 --- a/docs/search.php +++ b/docs/search.php @@ -91,7 +91,7 @@ $result = NULL; $j = 0; if ($word) { - $result = mysql_query ("SELECT wordsArchive.relevance, wordsArchive.name, 'xml-list', archives.resource, archives.title FROM wordsArchive, archives WHERE LCASE(wordsArchive.name) LIKE LCASE('$word') and wordsArchive.ID = archives.ID ORDER BY relevance DESC LIMIT 75"); + $result = mysql_query ("SELECT wordsArchive.relevance, wordsArchive.name, 'libvir-list', archives.resource, archives.title FROM wordsArchive, archives WHERE LCASE(wordsArchive.name) LIKE LCASE('$word') and wordsArchive.ID = archives.ID ORDER BY relevance DESC LIMIT 75"); if ($result) { $j = mysql_num_rows($result); if ($j == 0)