aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_topic.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-09-23 21:15:10 +0000
committerChris Smith <toonarmy@phpbb.com>2008-09-23 21:15:10 +0000
commitb812f81ac49865262d35f170ac1b5e7f83b32b37 (patch)
tree4ec2568bbe96cc097c3538a0eabe70e8dab77bfb /phpBB/includes/mcp/mcp_topic.php
parent9c5a3cca8995b4d1704c3cd57756a8434d4887af (diff)
downloadforums-b812f81ac49865262d35f170ac1b5e7f83b32b37.tar
forums-b812f81ac49865262d35f170ac1b5e7f83b32b37.tar.gz
forums-b812f81ac49865262d35f170ac1b5e7f83b32b37.tar.bz2
forums-b812f81ac49865262d35f170ac1b5e7f83b32b37.tar.xz
forums-b812f81ac49865262d35f170ac1b5e7f83b32b37.zip
MCP topic view checkboxes now default to unchecked.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8925 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_topic.php')
-rw-r--r--phpBB/includes/mcp/mcp_topic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index ae7448436c..defd1ecb1d 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -227,7 +227,7 @@ function mcp_topic_view($id, $mode, $action)
'S_POST_REPORTED' => ($row['post_reported']) ? true : false,
'S_POST_UNAPPROVED' => ($row['post_approved']) ? false : true,
- 'S_CHECKED' => (!$submitted_id_list || !in_array(intval($row['post_id']), $submitted_id_list) || in_array(intval($row['post_id']), $checked_ids)) ? true : false,
+ 'S_CHECKED' => (($submitted_id_list && !in_array(intval($row['post_id']), $submitted_id_list)) || in_array(intval($row['post_id']), $checked_ids)) ? true : false,
'S_HAS_ATTACHMENTS' => (!empty($attachments[$row['post_id']])) ? true : false,
'U_POST_DETAILS' => "$url&amp;i=$id&amp;p={$row['post_id']}&amp;mode=post_details" . (($forum_id) ? "&amp;f=$forum_id" : ''),