]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Tiny fix, Daniel
authorDaniel Veillard <veillard@redhat.com>
Fri, 24 Feb 2006 21:22:21 +0000 (21:22 +0000)
committerDaniel Veillard <veillard@redhat.com>
Fri, 24 Feb 2006 21:22:21 +0000 (21:22 +0000)
docs/search.php

index 905054e969bb99a1b9f688dc43f6a13164e5998a..88de549c1bfd3a8ff20480c5ed7ea2ae9f56a016 100644 (file)
@@ -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)