Bug tracker
Can't close report in MCP - error in prosilver template (fix completed in vcs)
Prosilver template has:
<form method="post" id="mcp_report" action="{U_CLOSE_ACTION}">
but no U_CLOSE_ACTION is defined in mcp.php, should be:
<form method="post" id="mcp_report" action="{S_CLOSE_ACTION}">
file: styles/prosilver/template/mcp_post.html
But: still error - the report isn't closed, so seems S_CLOSE_ACTION url is also broken.
Comments / History
- Code: Select all
<form method="post" id="mcp_report" action="">
Seems that the a line is missing in includes/mcp/mcp_post.php around this lot:
- Code: Select all
'U_MCP_ACTION' => "$url&i=main&quickmod=1", // Use this for mode paramaters
'U_POST_ACTION' => "$url&i=$id&mode=post_details", // Use this for action parameters
'U_APPROVE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&p=$post_id&f={$post_info['forum_id']}"),
I have found this line:
- Code: Select all
'S_CLOSE_ACTION' => $this->u_action . '&p=' . $post_id . '&f=' . $forum_id,