diff options
| author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2002-09-18 04:38:17 +0000 |
|---|---|---|
| committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2002-09-18 04:38:17 +0000 |
| commit | 13307c1360721ee1892ae5eb1e7d9d27ec6c3c76 (patch) | |
| tree | 68a7a68dfca08fdf053c133389cd1dbacf80f95a /phpBB/admin/admin_forums.php | |
| parent | 66e0b322202c62644c29a198307d62f9eac12e53 (diff) | |
| download | forums-13307c1360721ee1892ae5eb1e7d9d27ec6c3c76.tar forums-13307c1360721ee1892ae5eb1e7d9d27ec6c3c76.tar.gz forums-13307c1360721ee1892ae5eb1e7d9d27ec6c3c76.tar.bz2 forums-13307c1360721ee1892ae5eb1e7d9d27ec6c3c76.tar.xz forums-13307c1360721ee1892ae5eb1e7d9d27ec6c3c76.zip | |
New smilies admin, a bug fixed in mysql.php and a left join removed from admin_forums.php
git-svn-id: file:///svn/phpbb/trunk@2891 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_forums.php')
| -rw-r--r-- | phpBB/admin/admin_forums.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/admin/admin_forums.php b/phpBB/admin/admin_forums.php index b4448a7185..76efa5c65c 100644 --- a/phpBB/admin/admin_forums.php +++ b/phpBB/admin/admin_forums.php @@ -763,10 +763,9 @@ page_footer(); function get_forum_info($forum_id) { global $db; - $sql = 'SELECT f.*, s.* - FROM ' . FORUMS_TABLE . ' f - LEFT JOIN ' . STYLES_TABLE . " s ON f.forum_style = s.style_id - WHERE f.forum_id = $forum_id"; + $sql = 'SELECT * + FROM ' . FORUMS_TABLE . " + WHERE forum_id = $forum_id"; $result = $db->sql_query($sql); if (!$row = $db->sql_fetchrow($result)) { |
