1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-16 05:43:19 +02:00

Errm, modified the forum query in make_jumpbox, doh

git-svn-id: file:///svn/phpbb/trunk@138 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-04-02 14:48:56 +00:00
parent 582b838ae9
commit ab57859a18

View File

@ -87,11 +87,9 @@ function make_jumpbox($db)
$limit_forums = "";
$sql = "SELECT f.*, u.username, u.user_id, p.post_time
FROM ".FORUMS_TABLE." f
LEFT JOIN ".POSTS_TABLE." p ON p.post_id = f.forum_last_post_id
LEFT JOIN ".USERS_TABLE." u ON u.user_id = p.poster_id
ORDER BY f.cat_id, f.forum_order";
$sql = "SELECT *
FROM ".FORUMS_TABLE."
ORDER BY cat_id, forum_order";
if(!$q_forums = $db->sql_query($sql))
{
error_die($db, QUERY_ERROR);