1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

Firebird!

git-svn-id: file:///svn/phpbb/trunk@5918 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2006-05-16 22:14:59 +00:00
parent d52e31a489
commit 68e374067b
4 changed files with 47 additions and 37 deletions

View File

@@ -818,7 +818,7 @@ class ucp_main
AND f.forum_id = p.forum_id
$post_count_sql
GROUP BY f.forum_id
ORDER BY num_posts DESC";
ORDER BY COUNT(p.post_id) DESC";
$result = $db->sql_query_limit($sql, 1);
$active_f_row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
@@ -838,7 +838,7 @@ class ucp_main
AND f.forum_id = t.forum_id
$post_count_sql
GROUP BY t.topic_id
ORDER BY num_posts DESC";
ORDER BY COUNT(p.post_id) DESC";
$result = $db->sql_query_limit($sql, 1);
$active_t_row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);