aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-08-08 16:09:54 +0200
committerAndreas Fischer <bantu@phpbb.com>2013-08-08 16:09:54 +0200
commita053638c3df339ce6fb61876c018a5aa94614487 (patch)
tree325964a4dc8c02cea9f8d047c00ec5bff2051845
parentf35d732f40181a033e5ecd4e48fc846a82a73955 (diff)
parent74559eb0d59d9b97d6769ef5d57a3b375a6b8507 (diff)
downloadforums-a053638c3df339ce6fb61876c018a5aa94614487.tar
forums-a053638c3df339ce6fb61876c018a5aa94614487.tar.gz
forums-a053638c3df339ce6fb61876c018a5aa94614487.tar.bz2
forums-a053638c3df339ce6fb61876c018a5aa94614487.tar.xz
forums-a053638c3df339ce6fb61876c018a5aa94614487.zip
Merge remote-tracking branch 'Elsensee/ticket/11774' into develop
* Elsensee/ticket/11774: [ticket/11774] Fix constant to avoid PHP errors
-rw-r--r--phpBB/includes/mcp/mcp_reports.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php
index 72400ce623..3f48c58073 100644
--- a/phpBB/includes/mcp/mcp_reports.php
+++ b/phpBB/includes/mcp/mcp_reports.php
@@ -187,7 +187,7 @@ class mcp_reports
'S_CLOSE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&amp;mode=report_details&amp;f=' . $post_info['forum_id'] . '&amp;p=' . $post_id),
'S_CAN_VIEWIP' => $auth->acl_get('m_info', $post_info['forum_id']),
'S_POST_REPORTED' => $post_info['post_reported'],
- 'S_POST_UNAPPROVED' => ($post_info['post_visibility'] == POST_UNAPPROVED),
+ 'S_POST_UNAPPROVED' => ($post_info['post_visibility'] == ITEM_UNAPPROVED),
'S_POST_LOCKED' => $post_info['post_edit_locked'],
'S_USER_NOTES' => true,