aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-09-16 12:50:11 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-09-16 12:50:11 +0000
commitfbbc5ef04f72a5d412f46250d265612ff6636628 (patch)
tree75179c637d49e03d47357f168aafa669b8aac3cf /phpBB/includes/mcp
parent8dd2c17bf94b33d3629e96679a07bc6908caff38 (diff)
downloadforums-fbbc5ef04f72a5d412f46250d265612ff6636628.tar
forums-fbbc5ef04f72a5d412f46250d265612ff6636628.tar.gz
forums-fbbc5ef04f72a5d412f46250d265612ff6636628.tar.bz2
forums-fbbc5ef04f72a5d412f46250d265612ff6636628.tar.xz
forums-fbbc5ef04f72a5d412f46250d265612ff6636628.zip
Do not display reported topic icon for shadow topics. (Bug #13970)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8853 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r--phpBB/includes/mcp/mcp_main.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index 85f9a1e839..814add5aa8 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -659,8 +659,8 @@ function mcp_move_topic($topic_ids)
'forum_id' => (int) $row['forum_id'],
'icon_id' => (int) $row['icon_id'],
'topic_attachment' => (int) $row['topic_attachment'],
- 'topic_approved' => 1,
- 'topic_reported' => (int) $row['topic_reported'],
+ 'topic_approved' => 1, // a shadow topic is always approved
+ 'topic_reported' => 0, // a shadow topic is never reported
'topic_title' => (string) $row['topic_title'],
'topic_poster' => (int) $row['topic_poster'],
'topic_time' => (int) $row['topic_time'],