1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

another oops

git-svn-id: file:///svn/phpbb/trunk@6937 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Nils Adermann 2007-01-27 16:24:32 +00:00
parent aa8ebc7bf3
commit 84b87c7209

View File

@ -464,7 +464,7 @@ function get_forum_data($forum_id, $acl_list = 'f_list', $read_tracking = false)
$read_tracking_join = $read_tracking_select = '';
}
$sql = "SELECT * $read_tracking_select
$sql = "SELECT f.* $read_tracking_select
FROM " . FORUMS_TABLE . " f$read_tracking_join
WHERE " . $db->sql_in_set('f.forum_id', $forum_id);
$result = $db->sql_query($sql);