aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-06-18 00:33:24 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-06-18 00:33:24 +0000
commitc3b0c93c1670c9ab2bce578a72caa700c8bdf13a (patch)
tree6af617b8602f6ada4cc0de6e8114c96a8d2bd7f4 /phpBB/search.php
parent59c47a13097af3762cbc16b855d414611d99a8f5 (diff)
downloadforums-c3b0c93c1670c9ab2bce578a72caa700c8bdf13a.tar
forums-c3b0c93c1670c9ab2bce578a72caa700c8bdf13a.tar.gz
forums-c3b0c93c1670c9ab2bce578a72caa700c8bdf13a.tar.bz2
forums-c3b0c93c1670c9ab2bce578a72caa700c8bdf13a.tar.xz
forums-c3b0c93c1670c9ab2bce578a72caa700c8bdf13a.zip
Fixed error
git-svn-id: file:///svn/phpbb/trunk@508 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index c7cd358f18..7ada235850 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -360,7 +360,7 @@ if((isset($HTTP_POST_VARS['dosearch']) || isset($HTTP_GET_VARS['dosearch'])) &&
while(list($key, $value) = each($is_auth_ary))
{
- if(!$value['auth_view'])
+ if(!$value['auth_read'])
{
$sql .= " AND (f.forum_id <> $key )";
}
@@ -485,7 +485,7 @@ if((isset($HTTP_POST_VARS['dosearch']) || isset($HTTP_GET_VARS['dosearch'])) &&
// all accessible forums ... I think
//
$sql = "SELECT forum_name, forum_id
- FROM ".FORUMS_TABLE."
+ FROM " . FORUMS_TABLE . "
ORDER BY cat_id, forum_order";
$result = $db->sql_query($sql);
if(!$result)