From 3e18e50f898de8284f42b7165036676dac1c4352 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 26 Feb 2015 23:12:29 +0100 Subject: [PATCH] [ticket/464] Use phpbb_admin_path for links to acp pages B3P-464 --- acp/portal_module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acp/portal_module.php b/acp/portal_module.php index 84e63870..381168be 100644 --- a/acp/portal_module.php +++ b/acp/portal_module.php @@ -307,7 +307,7 @@ class portal_module { $this->log->add('admin', $this->user->data['user_id'], $this->user->data['user_ip'], 'LOG_PORTAL_CONFIG', false, array($this->user->lang['ACP_PORTAL_' . strtoupper($mode) . '_INFO'])); } - trigger_error($this->user->lang['CONFIG_UPDATED'] . ((!empty($img_error) ? '

' . $this->user->lang['MODULE_IMAGE_ERROR'] . '
' . $img_error : '')) . adm_back_link(($module_id) ? append_sid("{$this->phpbb_root_path}adm/index.{$this->php_ext}", 'i=\board3\portal\acp\portal_module&mode=modules') : $this->u_action)); + trigger_error($this->user->lang['CONFIG_UPDATED'] . ((!empty($img_error) ? '

' . $this->user->lang['MODULE_IMAGE_ERROR'] . '
' . $img_error : '')) . adm_back_link(($module_id) ? append_sid("{$this->phpbb_admin_path}index.{$this->php_ext}", 'i=\board3\portal\acp\portal_module&mode=modules') : $this->u_action)); } // show custom HTML files on the settings page of the modules instead of the standard board3 portal one, if chosen by module