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

some changes

git-svn-id: file:///svn/phpbb/trunk@8223 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-11-03 11:10:07 +00:00
parent ce8be416d8
commit 61fc9605fa
7 changed files with 23 additions and 27 deletions

View File

@@ -73,6 +73,14 @@ function mcp_front_view($id, $mode, $action)
}
$db->sql_freeresult($result);
if (empty($post_list))
{
$total = 0;
}
}
if ($total)
{
$sql = 'SELECT p.post_id, p.post_subject, p.post_time, p.poster_id, p.post_username, u.username, u.username_clean, t.topic_id, t.topic_title, t.topic_first_post_id, p.forum_id
FROM ' . POSTS_TABLE . ' p, ' . TOPICS_TABLE . ' t, ' . USERS_TABLE . ' u
WHERE ' . $db->sql_in_set('p.post_id', $post_list) . '

View File

@@ -599,7 +599,7 @@ function close_report($report_id_list, $mode, $action)
}
}
foreach($post_info as $post)
foreach ($post_info as $post)
{
$forum_ids[$post['forum_id']] = $post['forum_id'];
$topic_ids[$post['topic_id']] = $post['topic_id'];