diff options
Diffstat (limited to 'phpBB/includes/ucp/ucp_profile.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index b8ec6fb0f5..74d1c299cf 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -13,9 +13,9 @@ * ucp_profile * Changing profile settings */ -class ucp_profile extends module +class ucp_profile { - function ucp_profile($id, $mode) + function main($id, $mode) { global $config, $db, $user, $auth, $SID, $template, $phpbb_root_path, $phpEx; @@ -649,7 +649,8 @@ class ucp_profile extends module 'S_UCP_ACTION' => "ucp.$phpEx$SID&i=$id&mode=$mode") ); - $this->display($user->lang['UCP_PROFILE'], 'ucp_profile_' . $mode . '.html'); + // Set desired template + $this->tpl_name = 'ucp_profile_' . $mode; } } |