diff options
Diffstat (limited to 'phpBB/includes/mcp')
-rwxr-xr-x | phpBB/includes/mcp/mcp_logs.php | 2 | ||||
-rwxr-xr-x | phpBB/includes/mcp/mcp_notes.php | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_logs.php b/phpBB/includes/mcp/mcp_logs.php index f77e65f003..36cb33b816 100755 --- a/phpBB/includes/mcp/mcp_logs.php +++ b/phpBB/includes/mcp/mcp_logs.php @@ -28,6 +28,8 @@ class mcp_logs global $auth, $db, $user, $template; global $config, $phpbb_root_path, $phpEx, $SID; + $user->add_lang('acp/common'); + $action = request_var('action', array('' => '')); if (is_array($action)) diff --git a/phpBB/includes/mcp/mcp_notes.php b/phpBB/includes/mcp/mcp_notes.php index b8280d4a9b..0bc6a28f3f 100755 --- a/phpBB/includes/mcp/mcp_notes.php +++ b/phpBB/includes/mcp/mcp_notes.php @@ -45,11 +45,14 @@ class mcp_notes ); $this->tpl_name = 'mcp_notes_front'; - break; + break; + case 'user_notes': + $user->add_lang('acp/common'); + mcp_notes_user_view($id, $mode, $action); $this->tpl_name = 'mcp_notes_user'; - break; + break; } } } |