diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-05-15 20:17:35 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-05-15 20:17:35 +0000 |
commit | 918914926b13253ef3a9af40bcdb0ea8b900f497 (patch) | |
tree | 2d1e0313e99f45e82a2f5081dfb450de352dad28 /phpBB/includes/mcp/mcp_topic.php | |
parent | 4c207e5510a77931d3eed6fc065f294c8f675f82 (diff) | |
download | forums-918914926b13253ef3a9af40bcdb0ea8b900f497.tar forums-918914926b13253ef3a9af40bcdb0ea8b900f497.tar.gz forums-918914926b13253ef3a9af40bcdb0ea8b900f497.tar.bz2 forums-918914926b13253ef3a9af40bcdb0ea8b900f497.tar.xz forums-918914926b13253ef3a9af40bcdb0ea8b900f497.zip |
- request_var updates
- added group selection to pm filter
- fixed activation/deletion of inactive user accounts in admin index
- fixed some color swatch bugs
git-svn-id: file:///svn/phpbb/trunk@5152 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_topic.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_topic.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php index 31c79250f1..e4879288a7 100644 --- a/phpBB/includes/mcp/mcp_topic.php +++ b/phpBB/includes/mcp/mcp_topic.php @@ -34,8 +34,7 @@ function mcp_topic_view($id, $mode, $action, $url) $start = request_var('start', 0); $to_topic_id = request_var('to_topic_id', 0); $to_forum_id = request_var('to_forum_id', 0); - - $post_id_list = get_array('post_id_list', 0); + $post_id_list = request_var('post_id_list', array(0)); // Split Topic? if ($action == 'split_all' || $action == 'split_beyond') @@ -218,10 +217,10 @@ function split_topic($mode, $topic_id, $to_forum_id, $subject) { global $db, $template, $user, $phpEx, $SID, $phpbb_root_path, $auth; - $post_id_list = get_array('post_id_list', 0); + $post_id_list = request_var('post_id_list', array(0)); $start = request_var('start', 0); - if (!$post_id_list) + if (!sizeof($post_id_list)) { trigger_error('NO_POST_SELECTED'); } @@ -414,10 +413,10 @@ function merge_posts($topic_id, $to_topic_id) $topic_data = $topic_data[$to_topic_id]; - $post_id_list = get_array('post_id_list', 0); + $post_id_list = request_var('post_id_list', array(0)); $start = request_var('start', 0); - if (!$post_id_list) + if (!sizeof($post_id_list)) { $template->assign_var('MESSAGE', $user->lang['NO_POST_SELECTED']); return; |