aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-10-30 18:59:09 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-10-30 18:59:09 +0000
commit0a4f369681c7bf28c49fe9e9435b2c6ea0fd4915 (patch)
treec693d0afc3b71c163ee188e4f89f0051f317404f /phpBB/search.php
parent9273252cfce207445c0abf999fd8637b1d448603 (diff)
downloadforums-0a4f369681c7bf28c49fe9e9435b2c6ea0fd4915.tar
forums-0a4f369681c7bf28c49fe9e9435b2c6ea0fd4915.tar.gz
forums-0a4f369681c7bf28c49fe9e9435b2c6ea0fd4915.tar.bz2
forums-0a4f369681c7bf28c49fe9e9435b2c6ea0fd4915.tar.xz
forums-0a4f369681c7bf28c49fe9e9435b2c6ea0fd4915.zip
Dumped sql_query_array, replaced with build_array, posting updates, fixed quoting in mysql layers, fulltext enabled ... speed/problem feedback welcome
git-svn-id: file:///svn/phpbb/trunk@2986 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 0cc1ea8fc5..e767f7d43c 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -1147,7 +1147,7 @@ if ( $search_keywords != '' || $search_author != '' || $search_id )
//
// Search forum
//
-$sql = "SELECT c.cat_title, c.cat_id, f.forum_name, f.forum_id
+/*$sql = "SELECT c.cat_title, c.cat_id, f.forum_name, f.forum_id
FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f
WHERE f.cat_id = c.cat_id
ORDER BY c.cat_id, f.forum_order";
@@ -1165,8 +1165,9 @@ while( $row = $db->sql_fetchrow($result) )
}
}
}
-
-if ( $s_forums != '' )
+*/
+$s_forums = '<option value="-1">' . $user->lang['All_available'] . '</option>' . $s_forums;
+/*if ( $s_forums != '' )
{
$s_forums = '<option value="-1">' . $user->lang['All_available'] . '</option>' . $s_forums;
@@ -1183,7 +1184,7 @@ else
{
message_die(MESSAGE, $user->lang['No_searchable_forums']);
}
-
+*/
//
// Number of chars returned
//