mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fixed error
git-svn-id: file:///svn/phpbb/trunk@508 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
59c47a1309
commit
c3b0c93c16
1 changed files with 2 additions and 2 deletions
|
@ -360,7 +360,7 @@ if((isset($HTTP_POST_VARS['dosearch']) || isset($HTTP_GET_VARS['dosearch'])) &&
|
||||||
|
|
||||||
while(list($key, $value) = each($is_auth_ary))
|
while(list($key, $value) = each($is_auth_ary))
|
||||||
{
|
{
|
||||||
if(!$value['auth_view'])
|
if(!$value['auth_read'])
|
||||||
{
|
{
|
||||||
$sql .= " AND (f.forum_id <> $key )";
|
$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
|
// all accessible forums ... I think
|
||||||
//
|
//
|
||||||
$sql = "SELECT forum_name, forum_id
|
$sql = "SELECT forum_name, forum_id
|
||||||
FROM ".FORUMS_TABLE."
|
FROM " . FORUMS_TABLE . "
|
||||||
ORDER BY cat_id, forum_order";
|
ORDER BY cat_id, forum_order";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
if(!$result)
|
if(!$result)
|
||||||
|
|
Loading…
Add table
Reference in a new issue