diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-30 14:24:55 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-30 14:24:55 +0000 |
commit | efcb1279f06d1016c25fae516158abdb895981ee (patch) | |
tree | d2132ac5293103c1434c7f17133c7df453e45e78 /phpBB/includes/mcp | |
parent | 9f82dec04b18813c060e5a090a149c1a2c140689 (diff) | |
download | forums-efcb1279f06d1016c25fae516158abdb895981ee.tar forums-efcb1279f06d1016c25fae516158abdb895981ee.tar.gz forums-efcb1279f06d1016c25fae516158abdb895981ee.tar.bz2 forums-efcb1279f06d1016c25fae516158abdb895981ee.tar.xz forums-efcb1279f06d1016c25fae516158abdb895981ee.zip |
other fixes...
git-svn-id: file:///svn/phpbb/trunk@7242 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 4 | ||||
-rwxr-xr-x | phpBB/includes/mcp/mcp_reports.php | 2 |
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) |