diff options
author | Chris Smith <toonarmy@phpbb.com> | 2009-08-18 01:45:31 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2009-08-18 01:45:31 +0000 |
commit | 977ba9a68a90a5b926888f616ca7fb05d77576e3 (patch) | |
tree | 96fca73a5acaffed59972bf870b031953fd61e74 /phpBB | |
parent | 20bf778b93a4057814503dd759d94b50868f6d42 (diff) | |
download | forums-977ba9a68a90a5b926888f616ca7fb05d77576e3.tar forums-977ba9a68a90a5b926888f616ca7fb05d77576e3.tar.gz forums-977ba9a68a90a5b926888f616ca7fb05d77576e3.tar.bz2 forums-977ba9a68a90a5b926888f616ca7fb05d77576e3.tar.xz forums-977ba9a68a90a5b926888f616ca7fb05d77576e3.zip |
A little precaution
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10012 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 896ff6d39f..f72007acf5 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -895,7 +895,7 @@ function disapprove_post($post_id_list, $id, $mode) { // Load up the language pack $lang = array(); - @include($phpbb_root_path . '/language/' . $post_data['user_lang'] . '/mcp.' . $phpEx); + @include($phpbb_root_path . '/language/' . basename($post_data['user_lang']) . '/mcp.' . $phpEx); // If we find the reason in this language pack use it if (isset($lang['report_reasons']['DESCRIPTION'][$disapprove_reason_lang])) |