aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-06-10 23:11:03 +0000
committerNils Adermann <naderman@naderman.de>2006-06-10 23:11:03 +0000
commit1c169ed0899e469db53dbdff11f3d0ca040f269d (patch)
treec0e601e932dc88a18cd3190de9e11645cb37942c /phpBB/includes/functions_posting.php
parent8b40e7fe330b4b18b18116c7a0d197186860e7df (diff)
downloadforums-1c169ed0899e469db53dbdff11f3d0ca040f269d.tar
forums-1c169ed0899e469db53dbdff11f3d0ca040f269d.tar.gz
forums-1c169ed0899e469db53dbdff11f3d0ca040f269d.tar.bz2
forums-1c169ed0899e469db53dbdff11f3d0ca040f269d.tar.xz
forums-1c169ed0899e469db53dbdff11f3d0ca040f269d.zip
- forgot to commit common.php
- cleaning up a few more mcp permissions - adjust some links - make global topics work properly in MCP git-svn-id: file:///svn/phpbb/trunk@6045 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 0c4e5c9afb..7f5e40e8bb 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -872,7 +872,7 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id
'U_POST_ID' => $row['post_id'],
'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id']) . '#p' . $row['post_id'],
- 'U_MCP_DETAILS' => ($auth->acl_get('m_info', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&amp;mode=post_details&amp;p=' . $row['post_id'], true, $user->session_id) : '',
+ 'U_MCP_DETAILS' => ($auth->acl_get('m_info', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&amp;mode=post_details&amp;f=' . $forum_id . '&amp;p=' . $row['post_id'], true, $user->session_id) : '',
'U_QUOTE' => ($show_quote_button && $auth->acl_get('f_reply', $forum_id)) ? 'javascript:addquote(' . $row['post_id'] . ", '" . addslashes($poster) . "')" : '')
);
unset($rowset[$i]);
@@ -1359,7 +1359,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
case 'edit_first_post':
case 'edit':
- if (!$auth->acl_gets('m_', 'a_') || $data['post_edit_reason'])
+ if (!$auth->acl_get('m_edit', $data['forum_id']) || $data['post_edit_reason'])
{
$sql_data[POSTS_TABLE]['sql'] = array(
'post_edit_time' => $current_time