1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 09:46:46 +02:00

Fix bug #49625 - Performing actions in Main MCP tab does not return correctly

Authorised by: AcydBurn

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10002 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ruslan Uzdenov
2009-08-17 13:09:54 +00:00
parent b3af455c6a
commit d42e5a71d2
4 changed files with 8 additions and 1 deletions

View File

@@ -119,7 +119,12 @@ function mcp_front_view($id, $mode, $action)
$db->sql_freeresult($result);
}
$s_hidden_fields = build_hidden_fields(array(
'redirect' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main')
));
$template->assign_vars(array(
'S_HIDDEN_FIELDS' => $s_hidden_fields,
'S_MCP_QUEUE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue"),
));