diff options
Diffstat (limited to 'phpBB/includes/ucp/ucp_prefs.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_prefs.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php index 58c6e74e47..fef42f043f 100644 --- a/phpBB/includes/ucp/ucp_prefs.php +++ b/phpBB/includes/ucp/ucp_prefs.php @@ -13,9 +13,9 @@ * ucp_prefs * Changing user preferences */ -class ucp_prefs extends module +class ucp_prefs { - function ucp_prefs($id, $mode) + function main($id, $mode) { global $config, $db, $user, $auth, $SID, $template, $phpbb_root_path, $phpEx; @@ -413,7 +413,7 @@ class ucp_prefs extends module 'S_UCP_ACTION' => "ucp.$phpEx$SID&i=$id&mode=$mode") ); - $this->display($user->lang['UCP_PROFILE'], 'ucp_prefs_' . $mode . '.html'); + $this->tpl_name = 'ucp_prefs_' . $mode; } } |