aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_extensions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_extensions.php')
-rw-r--r--phpBB/includes/acp/acp_extensions.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index c4d9f0c0e0..1a9d51505a 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -43,6 +43,13 @@ class acp_extensions
$action = $request->variable('action', 'list');
$ext_name = $request->variable('ext_name', '');
+
+ // Cancel action
+ if ($request->is_set_post('cancel'))
+ {
+ $action = 'list';
+ $ext_name = '';
+ }
// If they've specificed an extension, let's load the metadata manager and validate it.
if ($ext_name)
@@ -162,6 +169,8 @@ class acp_extensions
// Output it to the template
$md_manager->output_template_data();
+ $template->assign_var('U_BACK', $this->u_action . '&action=list');
+
$this->tpl_name = 'acp_ext_details';
break;
}