mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
- a bunch of fixes
- added todos to the updater to make sure i do not forget. :) git-svn-id: file:///svn/phpbb/trunk@6698 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -79,7 +79,7 @@ function mcp_topic_view($id, $mode, $action)
|
||||
$posts_per_page = $total;
|
||||
}
|
||||
|
||||
$sql = 'SELECT u.username, u.user_colour, p.*
|
||||
$sql = 'SELECT u.username, u.username_clean, u.user_colour, p.*
|
||||
FROM ' . POSTS_TABLE . ' p, ' . USERS_TABLE . ' u
|
||||
WHERE ' . (($action == 'reports') ? 'p.post_reported = 1 AND ' : '') . '
|
||||
p.topic_id = ' . $topic_id . ' ' .
|
||||
@@ -467,6 +467,7 @@ function merge_posts($topic_id, $to_topic_id)
|
||||
|
||||
if (sizeof($topic_data))
|
||||
{
|
||||
$topic_data = $topic_data[$topic_id];
|
||||
$return_link .= sprintf($user->lang['RETURN_TOPIC'], '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $topic_data['forum_id'] . '&t=' . $topic_id) . '">', '</a>');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user