aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php4
-rwxr-xr-xphpBB/includes/mcp/mcp_reports.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 0367092726..673e65dd58 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -401,7 +401,7 @@ function approve_post($post_id_list, $id, $mode)
if (!check_ids($post_id_list, POSTS_TABLE, 'post_id', array('m_approve')))
{
- trigger_error('NOT_AUTHORIZED');
+ trigger_error('NOT_AUTHORISED');
}
$redirect = request_var('redirect', build_url(array('_f_', 'quickmod')));
@@ -645,7 +645,7 @@ function disapprove_post($post_id_list, $id, $mode)
if (!check_ids($post_id_list, POSTS_TABLE, 'post_id', array('m_approve')))
{
- trigger_error('NOT_AUTHORIZED');
+ trigger_error('NOT_AUTHORISED');
}
$redirect = request_var('redirect', build_url(array('t', 'mode', '_f_', 'quickmod')) . '&mode=unapproved_topics');
diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php
index a4cd1dd5d1..b5b1dc0cf7 100755
--- a/phpBB/includes/mcp/mcp_reports.php
+++ b/phpBB/includes/mcp/mcp_reports.php
@@ -377,7 +377,7 @@ function close_report($post_id_list, $mode, $action)
if (!check_ids($post_id_list, POSTS_TABLE, 'post_id', array('m_report')))
{
- trigger_error('NOT_AUTHORIZED');
+ trigger_error('NOT_AUTHORISED');
}
if ($action == 'delete' && strpos($user->data['session_page'], 'mode=report_details') !== false)