From e6c79242e6a7debfccc643a09dfab4a4d7746a8a Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 5 Oct 2007 14:30:11 +0000 Subject: dumdidum... sorry. ;) git-svn-id: file:///svn/phpbb/trunk@8146 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/search.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'phpBB/search.php') diff --git a/phpBB/search.php b/phpBB/search.php index 97f4ca655c..c34aaefecf 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -1,10 +1,10 @@ sql_freeresult($result); - + // If we have some shadow topics, update the rowset to reflect their topic information if (sizeof($shadow_topic_list)) { @@ -744,7 +744,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) $forum_ary = array_unique(array_keys($auth->acl_getf('!f_read', true))); // Determine first forum the user is able to read (must not be a category) - $sql = 'SELECT forum_id + $sql = 'SELECT forum_id FROM ' . FORUMS_TABLE . ' WHERE forum_type = ' . FORUM_POST; -- cgit v1.2.1