From ed6124155ad839929f26195c5d9705c51e098cee Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 30 Aug 2010 13:30:27 +0000 Subject: [PATCH] User gets taken back to Portal Modules instead of General Settings after editing the Module options in the ACP --- root/includes/acp/acp_portal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/includes/acp/acp_portal.php b/root/includes/acp/acp_portal.php index 4dcf46fb..da9374be 100644 --- a/root/includes/acp/acp_portal.php +++ b/root/includes/acp/acp_portal.php @@ -167,7 +167,7 @@ class acp_portal $cache->destroy('sql', CONFIG_TABLE); add_log('admin', 'LOG_PORTAL_CONFIG', $user->lang['ACP_PORTAL_' . strtoupper($mode) . '_INFO']); - trigger_error($user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action)); + trigger_error($user->lang['CONFIG_UPDATED'] . adm_back_link(($module_id) ? append_sid("{$phpbb_root_path}/adm/index.$phpEx", 'i=portal&mode=modules') : $this->u_action)); } $this->tpl_name = 'acp_portal_config';